mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 09:13:05 +08:00
Fix loading task steps and step timestamps [SCI-7902] (#4941)
This commit is contained in:
parent
bfb035d339
commit
29a7113cc1
2 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@
|
|||
</div>
|
||||
<div class="collapse in" :id="'stepBody' + step.id">
|
||||
<div class="step-elements">
|
||||
<div class="step-timestamp">{{ i18n.t('protocols.steps.timestamp', {date: step.attributes.created_on, user: step.attributes.created_by}) }}</div>
|
||||
<div class="step-timestamp">{{ i18n.t('protocols.steps.timestamp', {date: step.attributes.created_at, user: step.attributes.created_by}) }}</div>
|
||||
<template v-for="(element, index) in orderedElements">
|
||||
<component
|
||||
:is="elements[index].attributes.orderable_type"
|
||||
|
|
|
@ -8,7 +8,7 @@ class StepSerializer < ActiveModel::Serializer
|
|||
|
||||
attributes :name, :position, :completed, :attachments_manageble, :urls, :assets_view_mode, :assets_order,
|
||||
:marvinjs_enabled, :bio_eddie_service_enabled, :bio_eddie_context, :marvinjs_context,
|
||||
:wopi_enabled, :wopi_context, :comments_count, :unseen_comments, :storage_limit, :created_on,
|
||||
:wopi_enabled, :wopi_context, :comments_count, :unseen_comments, :storage_limit, :created_at,
|
||||
:created_by
|
||||
|
||||
def bio_eddie_service_enabled
|
||||
|
|
Loading…
Reference in a new issue