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,5 @@
|
|||
import { addObservablesTo, addSubscribablesTo } from 'External/ko';
|
||||
|
||||
import { getNotification } from 'Common/Translator';
|
||||
|
||||
import Remote from 'Remote/User/Fetch';
|
||||
|
|
@ -9,7 +11,7 @@ export class IdentityPopupView extends AbstractViewPopup {
|
|||
super('Identity');
|
||||
|
||||
this.id = '';
|
||||
this.addObservables({
|
||||
addObservablesTo(this, {
|
||||
edit: false,
|
||||
owner: false,
|
||||
|
||||
|
|
@ -35,7 +37,7 @@ export class IdentityPopupView extends AbstractViewPopup {
|
|||
submitError: ''
|
||||
});
|
||||
|
||||
this.addSubscribables({
|
||||
addSubscribablesTo(this, {
|
||||
replyTo: value => {
|
||||
if (false === this.showReplyTo() && value.length) {
|
||||
this.showReplyTo(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue