make legacy the last category
This commit is contained in:
parent
429305f8d9
commit
f263999184
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ function createCategories(){
|
|||
}
|
||||
let map = ret.map((a,i)=>({name:a,value:ns[i]}))
|
||||
|
||||
return map.sort((a,b)=>(a.value > b.value?-1:a.value < b.value ? 1:0))
|
||||
return map.sort((a,b)=>(a.name==="legacy"?2:a.value > b.value?-1:a.value < b.value ? 1:0))
|
||||
})();
|
||||
|
||||
for(let cat of CAT_NAMES){
|
||||
|
|
Loading…
Reference in a new issue