mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
decorateKoCommands() each command must have function
And due to that, a bug is found and solved in MessageView
This commit is contained in:
parent
a67fb22bee
commit
f50f2c5ea0
5 changed files with 40 additions and 49 deletions
|
|
@ -366,10 +366,10 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
|
||||
decorateKoCommands(this, {
|
||||
sendCommand: self => self.canBeSentOrSaved(),
|
||||
saveCommand: self => self.canBeSentOrSaved(),
|
||||
deleteCommand: self => self.isDraftFolderMessage(),
|
||||
skipCommand: self => self.canBeSentOrSaved(),
|
||||
contactsCommand: self => self.allowContacts
|
||||
saveCommand: self => self.canBeSentOrSaved(),
|
||||
deleteCommand: self => self.isDraftFolderMessage(),
|
||||
skipCommand: self => self.canBeSentOrSaved(),
|
||||
contactsCommand: self => self.allowContacts
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue