From 414ac41450b6dec24b672a3b760ff9710fd97196 Mon Sep 17 00:00:00 2001 From: Ahmed Awan Date: Thu, 3 Oct 2024 15:25:44 -0500 Subject: [PATCH] change create new collection `ButtonSpinner` variant --- client/src/components/Form/Elements/FormData/FormData.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Form/Elements/FormData/FormData.vue b/client/src/components/Form/Elements/FormData/FormData.vue index 18bdce82144e..9edd6ff3858c 100644 --- a/client/src/components/Form/Elements/FormData/FormData.vue +++ b/client/src/components/Form/Elements/FormData/FormData.vue @@ -661,7 +661,7 @@ const noOptionsWarningMessage = computed(() => { v-for="collectionType in effectiveCollectionTypes" :key="collectionType" :tooltip="collectionType" - variant="secondary" + :variant="formattedOptions.length === 0 ? 'warning' : 'secondary'" :disabled="isFetchingItems" :icon="faPlus" :wait="isFetchingItems"