We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32f0426 commit 306adf3Copy full SHA for 306adf3
js/index.js
@@ -694,10 +694,9 @@ function refreshLibrary(options) {
694
695
if (activeSort && !searchValue) { // only sort if not searching (searching already sorts)
696
if (["created","modified","installs","favourites"].includes(activeSort)) {
697
- visibleApps = visibleApps.sort((a,b) => {
+ visibleApps = visibleApps.sort((a,b) =>
698
((appSortInfo[b.id]||{})[activeSort]||0) -
699
((appSortInfo[a.id]||{})[activeSort]||0));
700
- });
701
} else throw new Error("Unknown sort type "+activeSort);
702
}
703
0 commit comments