Skip to content

Commit 2c5e227

Browse files
committed
feat: add colorful eea statuses
1 parent 1063726 commit 2c5e227

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/(private)/emergency-evacuation-applications/[id]/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import {
2727
SelectTrigger,
2828
SelectValue,
2929
} from '@/components/ui/select'
30+
import Status from '@/components/ui/status'
3031
import { Textarea } from '@/components/ui/textarea'
3132
import { Permission } from '@/constants/permissions'
3233
import {
@@ -566,7 +567,7 @@ const Page = ({
566567
key={status.value}
567568
value={status.value}
568569
>
569-
{t(status.label)}
570+
<Status status={status} />
570571
</SelectItem>
571572
)
572573
)}

src/components/ui/status.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { useTranslation } from 'react-i18next'
32
import { cn } from '@/lib/utils'
43
import { LabeledItem } from '@/common/types'

0 commit comments

Comments
 (0)