mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 03:59:21 +03:00
Bugfix and simplify broken folderListOptionsBuilder() due to changes for #112
This commit is contained in:
parent
ee7d06fbfd
commit
e0adf7accd
6 changed files with 31 additions and 72 deletions
|
|
@ -29,7 +29,6 @@ class FilterPopupView extends AbstractViewPopup {
|
|||
this.defaultOptionsAfterRender = defaultOptionsAfterRender;
|
||||
this.folderSelectList = ko.computed(() =>
|
||||
folderListOptionsBuilder(
|
||||
FolderUserStore.folderListSystem(),
|
||||
[FolderUserStore.sieveAllowFileintoInbox ? '' : 'INBOX'],
|
||||
[['', '']],
|
||||
item => item ? item.localName() : ''
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ class FolderCreatePopupView extends AbstractViewPopup {
|
|||
|
||||
this.parentFolderSelectList = ko.computed(() =>
|
||||
folderListOptionsBuilder(
|
||||
[],
|
||||
[],
|
||||
[['', '']],
|
||||
oItem =>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ class FolderSystemPopupView extends AbstractViewPopup {
|
|||
|
||||
this.folderSelectList = ko.computed(() =>
|
||||
folderListOptionsBuilder(
|
||||
[],
|
||||
FolderUserStore.folderListSystemNames(),
|
||||
[
|
||||
['', this.sChooseOnText],
|
||||
|
|
|
|||
|
|
@ -80,7 +80,6 @@ export class MessageListMailBoxUserView extends AbstractViewRight {
|
|||
this.messageListError = MessageUserStore.listError;
|
||||
this.folderMenuForMove = ko.computed(() =>
|
||||
folderListOptionsBuilder(
|
||||
FolderUserStore.folderListSystem(),
|
||||
[FolderUserStore.currentFolderFullNameRaw()],
|
||||
[],
|
||||
item => item ? item.localName() : ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue