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
|
|
@ -20,6 +20,7 @@ import Remote from 'Remote/User/Fetch';
|
|||
import { getNotification } from 'Common/Translator';
|
||||
//import { clearCache } from 'Common/Cache';
|
||||
//import { koComputable } from 'External/ko';
|
||||
import { addObservablesTo } from 'External/ko';
|
||||
|
||||
export class SystemDropDownUserView extends AbstractViewRight {
|
||||
constructor() {
|
||||
|
|
@ -36,7 +37,7 @@ export class SystemDropDownUserView extends AbstractViewRight {
|
|||
this.accountsUnreadCount = : koComputable(() => AccountUserStore.accounts().reduce((result, item) => result + item.count(), 0));
|
||||
*/
|
||||
|
||||
this.addObservables({
|
||||
addObservablesTo(this, {
|
||||
currentAudio: '',
|
||||
accountMenuDropdownTrigger: false
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue