From 61d3adefaef92b496e393c00f3e6d3369eb0c20f Mon Sep 17 00:00:00 2001 From: puriphatt Date: Thu, 26 Dec 2024 13:06:33 +0700 Subject: [PATCH] feat: add canceled status to task status list & remove from option --- src/pages/09_task-order/TaskStatusComponent.vue | 5 +++++ src/pages/09_task-order/constants.ts | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/09_task-order/TaskStatusComponent.vue b/src/pages/09_task-order/TaskStatusComponent.vue index 589e2065..626cca53 100644 --- a/src/pages/09_task-order/TaskStatusComponent.vue +++ b/src/pages/09_task-order/TaskStatusComponent.vue @@ -23,6 +23,11 @@ const statusList = [ icon: 'mdi-file-check-outline', color: 'positive', }, + { + value: TaskStatus.Canceled, + icon: 'mdi-file-remove-outline', + color: 'negative', + }, ]; const currStatus = computed(() => diff --git a/src/pages/09_task-order/constants.ts b/src/pages/09_task-order/constants.ts index e2bf30c6..87816296 100644 --- a/src/pages/09_task-order/constants.ts +++ b/src/pages/09_task-order/constants.ts @@ -89,11 +89,6 @@ export const taskStatusOrderToggle = [ icon: 'mdi-file-remove-outline', color: 'negative', }, - { - value: TaskStatus.Canceled, - icon: 'mdi-file-remove-outline', - color: 'negative', - }, ]; export const column = [