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+/);