From 9f5dcc8bfda49ed0de8872def155777719947089 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 15 Oct 2024 14:26:33 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20=E0=B8=9F=E0=B8=B4=E0=B8=A5=E0=B9=80=E0=B8=95=E0=B8=AD?= =?UTF-8?q?=E0=B8=A3=E0=B9=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/4_Result/DialogSendToCommand.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue b/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue index 339db43fa..204e12430 100644 --- a/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue +++ b/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue @@ -153,7 +153,9 @@ watch( if (modal.value === true) { selected.value = []; commandType.value = ""; - rows.value = props.data.persons ? props.data.persons : []; + rows.value = props.data.persons + ? props.data.persons.filter((item: any) => item.status == "NEW") + : []; const data = await storeCommand.getCommandTypes(); listCommand.value = data.filter( @@ -315,6 +317,6 @@ watch(