From e0148cca318f91a21231c9b72ac875e2a20dc4c6 Mon Sep 17 00:00:00 2001 From: ajugo Date: Thu, 12 Oct 2023 15:19:51 +0200 Subject: [PATCH] Fix image preview and status icon for items card [SCI-9480] (#6413) --- .../RepositoryAssetValue.vue | 2 +- .../RepositoryStatusValue.vue | 12 +++++-- .../repository_values/TooltipPreview.vue | 32 +++++++++++++++++-- 3 files changed, 40 insertions(+), 6 deletions(-) diff --git a/app/javascript/vue/repository_item_sidebar/repository_values/RepositoryAssetValue.vue b/app/javascript/vue/repository_item_sidebar/repository_values/RepositoryAssetValue.vue index 9fc9ee453..b5bc0a411 100644 --- a/app/javascript/vue/repository_item_sidebar/repository_values/RepositoryAssetValue.vue +++ b/app/javascript/vue/repository_item_sidebar/repository_values/RepositoryAssetValue.vue @@ -4,7 +4,7 @@ {{ colName }}
+ class="w-fit cursor-pointer text-sn-science-blue relative"> {{ file_name }} diff --git a/app/javascript/vue/repository_item_sidebar/repository_values/RepositoryStatusValue.vue b/app/javascript/vue/repository_item_sidebar/repository_values/RepositoryStatusValue.vue index a3bb232e0..5ae5bc1af 100644 --- a/app/javascript/vue/repository_item_sidebar/repository_values/RepositoryStatusValue.vue +++ b/app/javascript/vue/repository_item_sidebar/repository_values/RepositoryStatusValue.vue @@ -3,8 +3,8 @@
{{ colName }}
-
- {{ icon }} +
+
{{ status }}
@@ -14,6 +14,9 @@ diff --git a/app/javascript/vue/repository_item_sidebar/repository_values/TooltipPreview.vue b/app/javascript/vue/repository_item_sidebar/repository_values/TooltipPreview.vue index d90a78643..55d170dd3 100644 --- a/app/javascript/vue/repository_item_sidebar/repository_values/TooltipPreview.vue +++ b/app/javascript/vue/repository_item_sidebar/repository_values/TooltipPreview.vue @@ -1,13 +1,20 @@