mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
removed default export
This commit is contained in:
parent
b5114fa73a
commit
06b5b83588
18 changed files with 22 additions and 64 deletions
|
|
@ -5,32 +5,24 @@ import { SetSystemFoldersNotification } from 'Common/EnumsUser';
|
|||
import { UNUSED_OPTION_VALUE } from 'Common/Consts';
|
||||
import { defaultOptionsAfterRender } from 'Common/Utils';
|
||||
import { folderListOptionsBuilder } from 'Common/Folders';
|
||||
import { initOnStartOrLangChange, i18n } from 'Common/Translator';
|
||||
import { i18n } from 'Common/Translator';
|
||||
|
||||
import { FolderUserStore } from 'Stores/User/Folder';
|
||||
|
||||
import { AbstractViewPopup } from 'Knoin/AbstractViews';
|
||||
|
||||
class FolderSystemPopupView extends AbstractViewPopup {
|
||||
export class FolderSystemPopupView extends AbstractViewPopup {
|
||||
constructor() {
|
||||
super('FolderSystem');
|
||||
|
||||
this.sChooseOnText = '';
|
||||
this.sUnuseText = '';
|
||||
|
||||
initOnStartOrLangChange(() => {
|
||||
this.sChooseOnText = i18n('POPUPS_SYSTEM_FOLDERS/SELECT_CHOOSE_ONE');
|
||||
this.sUnuseText = i18n('POPUPS_SYSTEM_FOLDERS/SELECT_UNUSE_NAME');
|
||||
});
|
||||
|
||||
this.notification = ko.observable('');
|
||||
|
||||
this.folderSelectList = koComputable(() =>
|
||||
folderListOptionsBuilder(
|
||||
FolderUserStore.folderListSystemNames(),
|
||||
[
|
||||
['', this.sChooseOnText],
|
||||
[UNUSED_OPTION_VALUE, this.sUnuseText]
|
||||
['', i18n('POPUPS_SYSTEM_FOLDERS/SELECT_CHOOSE_ONE')],
|
||||
[UNUSED_OPTION_VALUE, i18n('POPUPS_SYSTEM_FOLDERS/SELECT_UNUSE_NAME')]
|
||||
]
|
||||
)
|
||||
);
|
||||
|
|
@ -81,5 +73,3 @@ class FolderSystemPopupView extends AbstractViewPopup {
|
|||
this.notification(notification);
|
||||
}
|
||||
}
|
||||
|
||||
export { FolderSystemPopupView, FolderSystemPopupView as default };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue