mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-28 02:27:57 +08:00
Fix markup
This commit is contained in:
parent
e8325ea736
commit
9dfc652580
2 changed files with 10 additions and 8 deletions
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable no-param-reassign */
|
||||
|
||||
var MyModuleRepositories = (function() {
|
||||
var SIMPLE_TABLE;
|
||||
|
||||
|
|
|
@ -23,19 +23,19 @@ module RepositoryDatatableHelper
|
|||
}
|
||||
|
||||
unless options[:view_mode]
|
||||
row.merge({
|
||||
row.merge(
|
||||
'recordEditUrl': Rails.application.routes.url_helpers
|
||||
.edit_repository_repository_row_path(
|
||||
repository,
|
||||
record.id
|
||||
),
|
||||
'recordUpdateUrl': Rails.application.routes.url_helpers
|
||||
.repository_repository_row_path(
|
||||
repository,
|
||||
record.id
|
||||
),
|
||||
'recordEditable': record.editable?
|
||||
})
|
||||
'recordUpdateUrl': Rails.application.routes.url_helpers
|
||||
.repository_repository_row_path(
|
||||
repository,
|
||||
record.id
|
||||
),
|
||||
'recordEditable': record.editable?
|
||||
)
|
||||
end
|
||||
|
||||
unless options[:skip_custom_columns]
|
||||
|
|
Loading…
Reference in a new issue