fix: เพิ่ม id

This commit is contained in:
Net 2024-06-14 13:37:11 +07:00
parent d049782e36
commit f5925987a0
3 changed files with 8 additions and 1 deletions

View file

@ -234,13 +234,16 @@ onMounted(async () => {
watch(productMode, () => (inputSearch.value = ''));
watch(currentStatus, async () => {});
watch(currentStatus, async () => {
await fetchListGroups();
});
</script>
<template>
<ButtonAddComponent style="z-index: 999">
<q-fab-action
v-if="productMode === 'group'"
id="btn-add-product-group"
style="color: white; background-color: hsla(var(--pink-6-hsl))"
padding="xs"
icon="mdi-folder-multiple-plus"
@ -256,6 +259,7 @@ watch(currentStatus, async () => {});
/>
<q-fab-action
v-if="productMode === 'type'"
id="btn-add-product-type"
:label="$t('productAndServiceType')"
external-label
label-position="left"