From 8ba0677fe770e4a53bc67a3c991e299299d470ad Mon Sep 17 00:00:00 2001 From: Christopher Lo <46541035+topher-lo@users.noreply.github.com> Date: Fri, 8 Mar 2024 06:41:12 +0000 Subject: [PATCH] refactor(ui): Lower snakecase status keys --- frontend/src/components/cases/data/categories.tsx | 2 +- frontend/src/components/cases/data/tasks.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/cases/data/categories.tsx b/frontend/src/components/cases/data/categories.tsx index f00bad37f..120f6e92b 100644 --- a/frontend/src/components/cases/data/categories.tsx +++ b/frontend/src/components/cases/data/categories.tsx @@ -24,7 +24,7 @@ export const statuses = [ icon: CheckCircleIcon, }, { - value: "in progress", + value: "in_progress", label: "In Progress", icon: TrafficConeIcon, }, diff --git a/frontend/src/components/cases/data/tasks.json b/frontend/src/components/cases/data/tasks.json index fb4c734e8..41703733b 100644 --- a/frontend/src/components/cases/data/tasks.json +++ b/frontend/src/components/cases/data/tasks.json @@ -150,7 +150,7 @@ "action": ["Support their health-conscious choice. Offer a complimentary vegan appetizer."], "context": ["vegan", "gluten-free"], "suppression": {"Is between 12 to 14 inches": true, "Is pizza": true, "Order describes only one pizza": true}, - "status": "open", + "status": "in_progress", "priority": "medium" }, { @@ -161,7 +161,7 @@ "action": ["Ponder their adventurous palate. Serve with a cautionary note on sweetness overload."], "context": ["cheese-lover", "sweet"], "suppression": {"Is between 12 to 14 inches": true, "Is pizza": true, "Order describes only one pizza": true}, - "status": "open", + "status": "in_progress", "priority": "medium" } ]