Skip to content

Commit

Permalink
refactor(ui): Lower snakecase status keys
Browse files Browse the repository at this point in the history
  • Loading branch information
topher-lo committed Mar 8, 2024
1 parent 19a075d commit 8ba0677
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/cases/data/categories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const statuses = [
icon: CheckCircleIcon,
},
{
value: "in progress",
value: "in_progress",
label: "In Progress",
icon: TrafficConeIcon,
},
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/cases/data/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand All @@ -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"
}
]

0 comments on commit 8ba0677

Please sign in to comment.