From 49d88b66c4a3f16a302cfc21d832543f0eea3532 Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 3 Oct 2024 13:01:21 +0200 Subject: [PATCH] Add storage refresh on item assignment [SCI-11140] --- .../vue/repository_item_sidebar/locations.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/javascript/vue/repository_item_sidebar/locations.vue b/app/javascript/vue/repository_item_sidebar/locations.vue index d496fd4ad..9f6dd9a5e 100644 --- a/app/javascript/vue/repository_item_sidebar/locations.vue +++ b/app/javascript/vue/repository_item_sidebar/locations.vue @@ -38,7 +38,7 @@ v-if="openAssignModal" assignMode="assign" :selectedRow="repositoryRow.id" - @close="openAssignModal = false; $emit('reloadRow')" + @close="openAssignModal = false; $emit('reloadRow'); reloadStorageLocations()" > { this.$emit('reloadRow'); - if (window.StorageLocationsContainer) { - window.StorageLocationsContainer.$refs.container.reloadingTable = true; - } + this.reloadStorageLocations(); }); } }