mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +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,4 +1,5 @@
|
|||
import { AbstractModel } from 'Knoin/AbstractModel';
|
||||
import { addObservablesTo } from 'External/ko';
|
||||
|
||||
export class IdentityModel extends AbstractModel {
|
||||
/**
|
||||
|
|
@ -8,7 +9,7 @@ export class IdentityModel extends AbstractModel {
|
|||
constructor(id, email) {
|
||||
super();
|
||||
|
||||
this.addObservables({
|
||||
addObservablesTo(this, {
|
||||
id: id || '',
|
||||
email: email,
|
||||
name: '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue