From 4f6783a991a3f05374ffd88dda291c2395f4e82b Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Wed, 23 Oct 2024 00:28:13 +0200 Subject: [PATCH] Bugfix: sortMode undefined at login --- dev/View/User/MailBox/MessageList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/View/User/MailBox/MessageList.js b/dev/View/User/MailBox/MessageList.js index 2517fe903..e767d7dca 100644 --- a/dev/View/User/MailBox/MessageList.js +++ b/dev/View/User/MailBox/MessageList.js @@ -212,7 +212,7 @@ export class MailMessageList extends AbstractViewRight { }, sortText: () => { - let mode = FolderUserStore.sortMode(), + let mode = FolderUserStore.sortMode() || '', has = w => mode.includes(w), desc = '' === mode || has('REVERSE'); mode = mode.split(/\s+/);