mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Resolve #1404
This commit is contained in:
parent
355f6158be
commit
8ab32816e2
6 changed files with 50 additions and 25 deletions
|
|
@ -457,7 +457,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
}
|
||||
|
||||
sendCommand() {
|
||||
let sSentFolder = FolderUserStore.sentFolder();
|
||||
let sSentFolder = this.currentIdentity()?.sentFolder || FolderUserStore.sentFolder();
|
||||
|
||||
this.attachmentsInProcessError(false);
|
||||
this.attachmentsInErrorError(false);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
import { addObservablesTo } from 'External/ko';
|
||||
import { addObservablesTo, koComputable } from 'External/ko';
|
||||
|
||||
import { getNotification } from 'Common/Translator';
|
||||
import { loadAccountsAndIdentities } from 'Common/UtilsUser';
|
||||
|
|
@ -10,6 +10,10 @@ import { AbstractViewPopup } from 'Knoin/AbstractViews';
|
|||
|
||||
import { IdentityModel } from 'Model/Identity';
|
||||
|
||||
import { folderListOptionsBuilder } from 'Common/Folders';
|
||||
import { i18n } from 'Common/Translator';
|
||||
import { defaultOptionsAfterRender } from 'Common/Utils';
|
||||
|
||||
export class IdentityPopupView extends AbstractViewPopup {
|
||||
constructor() {
|
||||
super('Identity');
|
||||
|
|
@ -27,6 +31,13 @@ export class IdentityPopupView extends AbstractViewPopup {
|
|||
this.replyTo.valueHasMutated();
|
||||
this.bcc.valueHasMutated();
|
||||
*/
|
||||
this.folderSelectList = koComputable(() =>
|
||||
folderListOptionsBuilder(
|
||||
[],
|
||||
[['', '('+i18n('GLOBAL/DEFAULT')+')']]
|
||||
)
|
||||
);
|
||||
this.defaultOptionsAfterRender = defaultOptionsAfterRender;
|
||||
}
|
||||
|
||||
submitForm(form) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue