Sorts categories in tile-view by prefix
This commit is contained in:
parent
a5e1646f3c
commit
c136a1b691
@ -7,8 +7,6 @@
|
||||
min-width: 30%;
|
||||
|
||||
.tile-text {
|
||||
padding: 8px 16px;
|
||||
|
||||
table {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
|
@ -264,7 +264,9 @@ export class MotionListComponent extends ListViewBaseComponent<ViewMotion> imple
|
||||
}
|
||||
}
|
||||
|
||||
this.tileCategories = Object.values(this.informationOfMotionsInTileCategories);
|
||||
this.tileCategories = Object.values(this.informationOfMotionsInTileCategories).sort((a, b) =>
|
||||
('' + a.prefix).localeCompare(b.prefix)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user