mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
this.addObservables() to addObservablesTo()
This commit is contained in:
parent
839ebfb350
commit
7fac6ca9dd
30 changed files with 78 additions and 58 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { addObservablesTo, addComputablesTo } from 'External/ko';
|
||||
import { i18n, translateTrigger } from 'Common/Translator';
|
||||
import { pString } from 'Common/Utils';
|
||||
|
||||
|
|
@ -10,7 +11,7 @@ export class AdvancedSearchPopupView extends AbstractViewPopup {
|
|||
constructor() {
|
||||
super('AdvancedSearch');
|
||||
|
||||
this.addObservables({
|
||||
addObservablesTo(this, {
|
||||
from: '',
|
||||
to: '',
|
||||
subject: '',
|
||||
|
|
@ -25,7 +26,7 @@ export class AdvancedSearchPopupView extends AbstractViewPopup {
|
|||
unseen: false
|
||||
});
|
||||
|
||||
this.addComputables({
|
||||
addComputablesTo(this, {
|
||||
showMultisearch: () => FolderUserStore.hasCapability('MULTISEARCH'),
|
||||
|
||||
// Almost the same as MessageModel.tagOptions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue