Merge pull request #4791 from GabrielInTheWorld/tile-enhances
Sorts categories in tile-view by prefix
This commit is contained in:
commit
578efe3345
@ -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