Skip to content

Commit 4beaa9d

Browse files
committed
Expose order for ScheduleStatus
1 parent f63f929 commit 4beaa9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/progress-summary/dto/schedule-status.enum.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { EnumType, makeEnum } from '~/common';
33
export type ScheduleStatus = EnumType<typeof ScheduleStatus>;
44
export const ScheduleStatus = makeEnum({
55
name: 'ScheduleStatus',
6-
values: ['Ahead', 'OnTime', 'Behind'],
6+
values: ['Behind', 'OnTime', 'Ahead'],
7+
exposeOrder: true,
78
extra: (status) => ({
89
fromVariance: (variance: number) => {
910
if (variance > 1 || variance < -1) {

0 commit comments

Comments
 (0)