scinote-web/app/views/repository_rows/snapshot_index.json.jbuilder

12 lines
398 B
Text
Raw Normal View History

# frozen_string_literal: true
json.draw @draw
json.data do
json.array! prepare_snapshot_row_columns(@repository_rows,
@columns_mappings,
@repository_snapshot.team,
@repository_snapshot)
end
json.recordsFiltered @filtered_rows_count
json.recordsTotal @all_rows_count