mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Proper fix for default sortMode
This commit is contained in:
parent
6bdd509b48
commit
3a589e240c
3 changed files with 5 additions and 3 deletions
|
|
@ -5,6 +5,7 @@ import { LayoutSideView, LayoutBottomView } from 'Common/EnumsUser';
|
|||
import { pInt } from 'Common/Utils';
|
||||
import { $htmlCL, SettingsGet, fireEvent } from 'Common/Globals';
|
||||
import { ThemeStore } from 'Stores/Theme';
|
||||
import { FolderUserStore } from 'Stores/User/Folder';
|
||||
|
||||
export const SettingsUserStore = new class {
|
||||
constructor() {
|
||||
|
|
@ -163,5 +164,7 @@ export const SettingsUserStore = new class {
|
|||
self.messageReadDelay(pInt(SettingsGet('MessageReadDelay')));
|
||||
self.autoLogout(pInt(SettingsGet('AutoLogout')));
|
||||
self.keyPassForget(pInt(SettingsGet('keyPassForget')));
|
||||
|
||||
FolderUserStore.sortMode(self.defaultSort());
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue