From 746ac085077beb9581315a0d453de36eb4b2e7cb Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Wed, 9 Oct 2024 11:13:19 +0200 Subject: [PATCH] Add warning modal when unsharing inventories from teams [SCI-11159] --- app/javascript/vue/repositories/table.vue | 19 ++++++++++++ app/javascript/vue/shared/share_modal.vue | 37 +++++++++++++++++++---- 2 files changed, 50 insertions(+), 6 deletions(-) diff --git a/app/javascript/vue/repositories/table.vue b/app/javascript/vue/repositories/table.vue index 9aaf91157..a7c11ce8e 100644 --- a/app/javascript/vue/repositories/table.vue +++ b/app/javascript/vue/repositories/table.vue @@ -54,8 +54,27 @@ v-if="shareRepository" :object="shareRepository" :globalShareEnabled="true" + :confirmationModal="$refs.shareConfirmationModal" @close="shareRepository = null" @share="updateTable" /> +