Changes for #796

This commit is contained in:
the-djmaze 2022-12-24 23:21:43 +01:00
parent ff9dfa28fe
commit f2b8719223
3 changed files with 4 additions and 3 deletions

View file

@ -94,7 +94,6 @@ export class MailMessageList extends AbstractViewRight {
this.popupVisibility = arePopupsVisible;
this.useCheckboxesInList = SettingsUserStore.useCheckboxesInList;
this.listPerDay = SettingsUserStore.listPerDay;
this.userUsageProc = FolderUserStore.quotaPercentage;
@ -147,6 +146,8 @@ export class MailMessageList extends AbstractViewRight {
mobileCheckedStateHide: () => ThemeStore.isMobile() ? !MessagelistUserStore.hasChecked() : 1,
listPerDay: () => SettingsUserStore.listPerDay() && 'DATE' == (FolderUserStore.sortMode() || 'DATE'),
listByDay: () => {
let list = [], current, today = Ymd(new Date()),
rtf = Intl.RelativeTimeFormat