mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-17 09:16:10 +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 MyModuleRepositories = (function() {
|
||||||
var SIMPLE_TABLE;
|
var SIMPLE_TABLE;
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ module RepositoryDatatableHelper
|
||||||
}
|
}
|
||||||
|
|
||||||
unless options[:view_mode]
|
unless options[:view_mode]
|
||||||
row.merge({
|
row.merge(
|
||||||
'recordEditUrl': Rails.application.routes.url_helpers
|
'recordEditUrl': Rails.application.routes.url_helpers
|
||||||
.edit_repository_repository_row_path(
|
.edit_repository_repository_row_path(
|
||||||
repository,
|
repository,
|
||||||
|
@ -35,7 +35,7 @@ module RepositoryDatatableHelper
|
||||||
record.id
|
record.id
|
||||||
),
|
),
|
||||||
'recordEditable': record.editable?
|
'recordEditable': record.editable?
|
||||||
})
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
unless options[:skip_custom_columns]
|
unless options[:skip_custom_columns]
|
||||||
|
|
Loading…
Add table
Reference in a new issue