mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Fix markup
This commit is contained in:
parent
f65b50c6ff
commit
2f7adffcb0
1 changed files with 1 additions and 5 deletions
|
@ -3,12 +3,8 @@
|
|||
module RepositoryDatatableHelper
|
||||
include InputSanitizeHelper
|
||||
|
||||
|
||||
def prepare_row_columns(repository_rows, repository, columns_mappings, team, options = {})
|
||||
|
||||
if options[:my_module]
|
||||
assigned_rows = options[:my_module].repository_rows.where(repository: repository).pluck(:id)
|
||||
end
|
||||
assigned_rows = options[:my_module].repository_rows.where(repository: repository).pluck(:id) if options[:my_module]
|
||||
|
||||
repository_rows.map do |record|
|
||||
row = {
|
||||
|
|
Loading…
Reference in a new issue