Drop search capa to always allow it

This commit is contained in:
the-djmaze 2022-09-08 12:05:37 +02:00
parent 18096cb6ee
commit 2a92122dad
5 changed files with 2 additions and 13 deletions

View file

@ -63,8 +63,6 @@ export class MailMessageList extends AbstractViewRight {
this.newMoveToFolder = !!SettingsGet('NewMoveToFolder');
this.allowSearch = SettingsCapa('Search');
this.allowSearchAdv = SettingsCapa('SearchAdv');
this.allowDangerousActions = SettingsCapa('DangerousActions');
this.messageList = MessagelistUserStore;
@ -776,8 +774,7 @@ export class MailMessageList extends AbstractViewRight {
}
advancedSearchClick() {
SettingsCapa('SearchAdv')
&& showScreenPopup(AdvancedSearchPopupView, [MessagelistUserStore.mainSearch()]);
showScreenPopup(AdvancedSearchPopupView, [MessagelistUserStore.mainSearch()]);
}
quotaTooltip() {