mirror of
https://github.com/block-core/blockcore-notes.git
synced 2024-09-29 22:40:44 +00:00
Fix bugs
Closes#126
This commit is contained in:
parent
ab70afbf59
commit
3526dd7459
@ -100,7 +100,7 @@ export class PeopleComponent {
|
|||||||
});
|
});
|
||||||
} else if (sorting === 'followed-desc') {
|
} else if (sorting === 'followed-desc') {
|
||||||
this.sortedItems = this.items.sort((a, b) => {
|
this.sortedItems = this.items.sort((a, b) => {
|
||||||
return a.followed! < b.followed! ? -1 : 1;
|
return a.followed! > b.followed! ? 1 : -1;
|
||||||
});
|
});
|
||||||
} else if (sorting === 'created-asc') {
|
} else if (sorting === 'created-asc') {
|
||||||
this.sortedItems = this.items.sort((a, b) => {
|
this.sortedItems = this.items.sort((a, b) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user