mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Add assets_view_mode for result [SCI-9375]
This commit is contained in:
parent
2b9ae65a51
commit
254b55772d
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class ResultSerializer < ActiveModel::Serializer
|
|||
attributes :name, :id, :urls, :updated_at, :created_at_formatted, :updated_at_formatted, :user,
|
||||
:my_module_id, :attachments_manageble, :marvinjs_enabled, :marvinjs_context, :type,
|
||||
:wopi_enabled, :wopi_context, :created_at, :created_by, :archived, :assets_order,
|
||||
:open_vector_editor_context, :comments_count
|
||||
:open_vector_editor_context, :comments_count, :assets_view_mode
|
||||
|
||||
def marvinjs_enabled
|
||||
MarvinJsService.enabled?
|
||||
|
|
Loading…
Reference in a new issue