mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-21 03:04:26 -04:00
[nouns] fix sortowania, niezatwierdzone u góry
This commit is contained in:
parent
d27730bce0
commit
e729939936
@ -293,6 +293,12 @@
|
||||
nouns() {
|
||||
return buildDict(function* (that) {
|
||||
const sorted = that.nounsRaw.sort((a, b) => {
|
||||
if (a.approved && !b.approved) {
|
||||
return 1;
|
||||
}
|
||||
if (!a.approved && b.approved) {
|
||||
return -1;
|
||||
}
|
||||
return a.masc.toLowerCase().localeCompare(b.masc.toLowerCase());
|
||||
});
|
||||
for (let w of sorted) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user