mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-27 00:36:44 +03:00
this.addObservables() to addObservablesTo()
This commit is contained in:
parent
839ebfb350
commit
7fac6ca9dd
30 changed files with 78 additions and 58 deletions
|
|
@ -7,6 +7,7 @@ import {
|
|||
} from 'Common/Links';
|
||||
|
||||
import { AbstractModel } from 'Knoin/AbstractModel';
|
||||
import { addObservablesTo } from 'External/ko';
|
||||
|
||||
import { SMAudio } from 'Common/Audio';
|
||||
|
||||
|
|
@ -30,7 +31,7 @@ export class AttachmentModel extends AbstractModel {
|
|||
this.mimeIndex = '';
|
||||
this.estimatedSize = 0;
|
||||
|
||||
this.addObservables({
|
||||
addObservablesTo(this, {
|
||||
isInline: false,
|
||||
isLinked: false
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue