Skip to content

Commit 4bb149e

Browse files
author
Andre Turner
committed
revised order
1 parent 754ae9a commit 4bb149e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/engagement/dto/status.enum.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ export const EngagementStatus = makeEnum({
1111
{ value: 'Rejected', terminal: true },
1212

1313
'Active',
14+
'ActiveChangedPlan',
1415

1516
'DiscussingTermination',
1617
'DiscussingReactivation',
1718
'DiscussingChangeToPlan',
1819
'DiscussingSuspension',
1920

20-
'FinalizingCompletion',
21-
'ActiveChangedPlan',
2221
'Suspended',
2322

23+
'FinalizingCompletion',
2424
{ value: 'Terminated', terminal: true },
2525
{ value: 'Completed', terminal: true },
2626

@@ -32,6 +32,7 @@ export const EngagementStatus = makeEnum({
3232
}),
3333
),
3434
],
35+
exposeOrder: true,
3536
extra: ({ entries }) => ({
3637
Terminal: setOf(entries.flatMap((v) => (v.terminal ? [v.value] : []))),
3738
Ongoing: setOf(entries.flatMap((v) => (!v.terminal ? [v.value] : []))),

0 commit comments

Comments
 (0)