mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 13:02:50 +00:00
fix: update approval status logic in vessel registration steps
This commit is contained in:
@@ -277,7 +277,7 @@ export function VesselRegistrationPage() {
|
|||||||
{[
|
{[
|
||||||
{ label: 'Submitted', done: true },
|
{ label: 'Submitted', done: true },
|
||||||
{ label: 'Under Review', done: registration.status !== 'Pending' },
|
{ label: 'Under Review', done: registration.status !== 'Pending' },
|
||||||
{ label: 'Approved', done: registration.status === 'Approved' },
|
{ label: 'Approved', done: false },
|
||||||
].map((step) => (
|
].map((step) => (
|
||||||
<Group key={step.label} gap="xs">
|
<Group key={step.label} gap="xs">
|
||||||
<ThemeIcon size={20} radius="xl" color={step.done ? 'teal' : 'gray'} variant={step.done ? 'filled' : 'light'}>
|
<ThemeIcon size={20} radius="xl" color={step.done ? 'teal' : 'gray'} variant={step.done ? 'filled' : 'light'}>
|
||||||
|
|||||||
Reference in New Issue
Block a user