mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Merge pull request #6293 from aignatov-bio/ai-sci-9375-add-selected-state-for-dropdown
Add assets_view_mode for result [SCI-9375]
This commit is contained in:
commit
80afa31632
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