From e3cd70ea0deb9021376616aaab8dfd16e6b38a96 Mon Sep 17 00:00:00 2001 From: Gregor Lasnibat Date: Mon, 20 Nov 2023 09:36:47 +0100 Subject: [PATCH] (fix) Item card changes are not visible at click away [SCI-9681] --- .../repository_values/RepositoryAssetValue.vue | 12 ++---------- 1 file changed, 2 insertions(+), 10 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 73947d84a..3005f9423 100644 --- a/app/javascript/vue/repository_item_sidebar/repository_values/RepositoryAssetValue.vue +++ b/app/javascript/vue/repository_item_sidebar/repository_values/RepositoryAssetValue.vue @@ -3,17 +3,9 @@
{{ colName }}
-
- - {{ file_name }} - -
+ class="btn-text-link font-normal" @click="openFileChooser"> {{ i18n.t('repositories.item_card.repository_asset_value.add_asset') }}
@@ -124,7 +116,7 @@ export default { } const upload = new ActiveStorage.DirectUpload(file, - this.actions.direct_file_upload_path, + this.actions.direct_file_upload_path, { directUploadWillStoreFileWithXHR: (request) => { request.upload.addEventListener('progress', (e) => {