mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-15 12:15:20 +08:00
Bugfix: sortMode undefined at login
This commit is contained in:
parent
012c1102f9
commit
4f6783a991
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ export class MailMessageList extends AbstractViewRight {
|
||||||
},
|
},
|
||||||
|
|
||||||
sortText: () => {
|
sortText: () => {
|
||||||
let mode = FolderUserStore.sortMode(),
|
let mode = FolderUserStore.sortMode() || '',
|
||||||
has = w => mode.includes(w),
|
has = w => mode.includes(w),
|
||||||
desc = '' === mode || has('REVERSE');
|
desc = '' === mode || has('REVERSE');
|
||||||
mode = mode.split(/\s+/);
|
mode = mode.split(/\s+/);
|
||||||
|
|
Loading…
Reference in a new issue