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%;
|
min-width: 30%;
|
||||||
|
|
||||||
.tile-text {
|
.tile-text {
|
||||||
padding: 8px 16px;
|
|
||||||
|
|
||||||
table {
|
table {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 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