mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 17:24:51 +08:00
Merge pull request #8045 from aignatov-bio/ai-sci-11288-fix-version-modals-for-api-files
Fix file versions for api flies [SCI-11288]
This commit is contained in:
commit
096b95781f
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@
|
|||
</div>
|
||||
<div class="flex text-xs text-sn-grey justify-start">
|
||||
<div class="mr-3">{{ fileVersion.attributes.created_at }}</div>
|
||||
<div class="mr-3 text-nowrap text-ellipsis overflow-hidden max-w-52">{{ fileVersion.attributes.created_by.full_name }}</div>
|
||||
<div v-if="fileVersion.attributes.created_by" class="mr-3 text-nowrap text-ellipsis overflow-hidden max-w-52">
|
||||
{{ fileVersion.attributes.created_by.full_name }}
|
||||
</div>
|
||||
<div>{{ i18n.t("assets.file_versions_modal.size") }}: {{ Math.round(fileVersion.attributes.byte_size/1024) }}KB</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue