Skip to content

Commit 264e648

Browse files
committed
ALCS-2652 Fix card order
1 parent 7805696 commit 264e648

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

alcs-frontend/src/app/features/board/dialogs/application-decision-condition-dialog/application-decision-condition-dialog.component.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,10 @@ export class ApplicationDecisionConditionDialogComponent extends CardDialogCompo
113113
condition,
114114
index: index + 1,
115115
selected: this.isConditionSelected(condition),
116-
}));
117-
116+
}))
117+
.sort((a, b) => {
118+
return a.condition.order - b.condition.order
119+
});
118120
this.dataSource.data = data;
119121
}
120122

0 commit comments

Comments
 (0)