mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
Resolve #496
This commit is contained in:
parent
232ad31553
commit
15dd6f5a5c
45 changed files with 77 additions and 24 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import ko from 'ko';
|
||||
import { koComputable } from 'External/ko';
|
||||
|
||||
import { Layout, EditorDefaultType } from 'Common/EnumsUser';
|
||||
import { Layout, EditorDefaultType, ComposeType } from 'Common/EnumsUser';
|
||||
import { pInt } from 'Common/Utils';
|
||||
import { addObservablesTo } from 'External/ko';
|
||||
import { $htmlCL, SettingsGet, fireEvent } from 'Common/Globals';
|
||||
|
|
@ -22,6 +22,13 @@ export const SettingsUserStore = new class {
|
|||
]
|
||||
});
|
||||
|
||||
self.msgDefaultAction = ko.observable(1).extend({
|
||||
limitedList: [
|
||||
ComposeType.Reply,
|
||||
ComposeType.ReplyAll
|
||||
]
|
||||
});
|
||||
|
||||
self.messagesPerPage = ko.observable(25).extend({ debounce: 999 });
|
||||
|
||||
self.messageReadDelay = ko.observable(5).extend({ debounce: 999 });
|
||||
|
|
@ -79,6 +86,7 @@ export const SettingsUserStore = new class {
|
|||
self.messagesPerPage(pInt(SettingsGet('MessagesPerPage')));
|
||||
self.messageReadDelay(pInt(SettingsGet('MessageReadDelay')));
|
||||
self.autoLogout(pInt(SettingsGet('AutoLogout')));
|
||||
self.msgDefaultAction(SettingsGet('MsgDefaultAction'));
|
||||
|
||||
self.viewHTML(SettingsGet('ViewHTML'));
|
||||
self.showImages(SettingsGet('ShowImages'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue