mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
fix: set default sortBy for tags & trash
This commit is contained in:
@@ -68,7 +68,12 @@ class Settings {
|
||||
return (
|
||||
this._settings.groupOptions[key] || {
|
||||
groupBy: "default",
|
||||
sortBy: "dateEdited",
|
||||
sortBy:
|
||||
key === "trash"
|
||||
? "dateDeleted"
|
||||
: key === "tags"
|
||||
? "dateCreated"
|
||||
: "dateEdited",
|
||||
sortDirection: "desc",
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user