From c35a468e01eddefb0d82134b66eb018e5d56780d Mon Sep 17 00:00:00 2001 From: jtubau Date: Fri, 3 Jan 2025 13:33:44 +0100 Subject: [PATCH] fix: refs #8317 disable action buttons when no rows are selected in ItemFixedPrice --- src/pages/Item/ItemFixedPrice.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/Item/ItemFixedPrice.vue b/src/pages/Item/ItemFixedPrice.vue index 74403d471..01fc82428 100644 --- a/src/pages/Item/ItemFixedPrice.vue +++ b/src/pages/Item/ItemFixedPrice.vue @@ -35,6 +35,7 @@ const editTableCellDialogRef = ref(null); const user = state.getUser(); const fixedPrices = ref([]); const warehousesOptions = ref([]); +const hasSelectedRows = computed(() => rowsSelected.value.length > 0); const rowsSelected = ref([]); const itemFixedPriceFilterRef = ref(); @@ -372,9 +373,9 @@ function handleOnDataSave({ CrudModelRef }) { -