From 7ef270fa8f308f89f7a25f88672ceeae2170e538 Mon Sep 17 00:00:00 2001 From: Jarlem Red de Peralta Date: Sat, 10 Dec 2022 13:53:56 +0800 Subject: [PATCH] chore(revert): unmake urgent state This reverts commit 27574b25757d019708798f19d7c9132d43c36908. --- components/consultation/helpers/make_consultation_states.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/consultation/helpers/make_consultation_states.ts b/components/consultation/helpers/make_consultation_states.ts index 401bd9272..151b852e7 100644 --- a/components/consultation/helpers/make_consultation_states.ts +++ b/components/consultation/helpers/make_consultation_states.ts @@ -41,8 +41,6 @@ export default function( const hasTerminated = isAfterScheduledStart.value && !hasDeleted.value return hasTerminated && props.consultation.actionTaken === null }) - const isUrgent = computed( - () => props.consultation.reason.toLocaleLowerCase().includes("urgent:")) setInterval(() => { currentTime.value = new Date() @@ -53,7 +51,6 @@ export default function( isCanceled, isDone, isOngoing, - isUrgent, willSoonStart, willStart }