From 3bde4d78b3f9733588eba1c7582b654b8b753d3e Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Fri, 14 Feb 2025 11:14:51 +0500 Subject: [PATCH] [24.2] Remove redundant `Create Collection` ok button from collection creator Fixes https://github.com/galaxyproject/galaxy/issues/19540 --- .../src/components/Collections/CollectionCreatorModal.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/components/Collections/CollectionCreatorModal.vue b/client/src/components/Collections/CollectionCreatorModal.vue index 8db25d243c6..59b3099c533 100644 --- a/client/src/components/Collections/CollectionCreatorModal.vue +++ b/client/src/components/Collections/CollectionCreatorModal.vue @@ -242,10 +242,9 @@ function resetModal() { :busy="(fromSelection && isFetchingItems) || creatingCollection" modal-class="ui-modal collection-creator-modal" :hide-footer="!createdCollection && !createCollectionError" - :ok-disabled="!!createdCollection || !!createCollectionError" - :cancel-title="localize('Exit')" - footer-class="d-flex justify-content-between" - :ok-title="localize('Create Collection')" + ok-only + :ok-title="localize('Exit')" + ok-variant="secondary" @hidden="resetModal">