this.addObservables() to addObservablesTo()

This commit is contained in:
the-djmaze 2022-10-30 22:19:52 +01:00
parent 839ebfb350
commit 7fac6ca9dd
30 changed files with 78 additions and 58 deletions

View file

@ -1,4 +1,4 @@
import { koComputable } from 'External/ko';
import { koComputable, addObservablesTo } from 'External/ko';
import { Notification } from 'Common/Enums';
import { UNUSED_OPTION_VALUE } from 'Common/Consts';
@ -20,7 +20,7 @@ export class FolderCreatePopupView extends AbstractViewPopup {
constructor() {
super('FolderCreate');
this.addObservables({
addObservablesTo(this, {
folderName: '',
folderSubscribe: SettingsUserStore.hideUnsubscribed(),