diff --git a/app/serializers/result_serializer.rb b/app/serializers/result_serializer.rb index b360bc1ac..cb03c39f1 100644 --- a/app/serializers/result_serializer.rb +++ b/app/serializers/result_serializer.rb @@ -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?