From ff7d516519e67838c33c2c6d95d1cdb613af07e3 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Wed, 8 Jan 2025 17:17:12 +0700 Subject: [PATCH] fix: columns not show action --- src/pages/05_quotation/MainPage.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index db693382..8c09854f 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -59,10 +59,12 @@ const { state: customerFormState, currentFormData: customerFormData } = const { currentMyBranch } = storeToRefs(userBranch); const fieldSelectedOption = computed(() => { - return columnQuotation.map((v) => ({ - label: v.label, - value: v.name, - })); + return columnQuotation + .filter((v) => v.name !== 'action') + .map((v) => ({ + label: v.label, + value: v.name, + })); }); const special = ref(false); const branchId = ref('');