From 718fafdec8a20d1579ee8be2dedb4734cd92b7f2 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 15 Nov 2024 14:03:14 +0100 Subject: [PATCH] Fix file versions for api flies [SCI-11288] --- app/javascript/vue/shared/file_versions_modal.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/javascript/vue/shared/file_versions_modal.vue b/app/javascript/vue/shared/file_versions_modal.vue index 1a0553e97..6d4765066 100644 --- a/app/javascript/vue/shared/file_versions_modal.vue +++ b/app/javascript/vue/shared/file_versions_modal.vue @@ -32,7 +32,9 @@
{{ fileVersion.attributes.created_at }}
-
{{ fileVersion.attributes.created_by.full_name }}
+
+ {{ fileVersion.attributes.created_by.full_name }} +
{{ i18n.t("assets.file_versions_modal.size") }}: {{ Math.round(fileVersion.attributes.byte_size/1024) }}KB