summaryrefslogtreecommitdiff
path: root/src/client/app/common/define-widget.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/common/define-widget.ts')
-rw-r--r--src/client/app/common/define-widget.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/define-widget.ts b/src/client/app/common/define-widget.ts
index 9f8dcfc7ea..7b98c0903f 100644
--- a/src/client/app/common/define-widget.ts
+++ b/src/client/app/common/define-widget.ts
@@ -56,14 +56,14 @@ export default function<T extends object>(data: {
id: this.id,
data: newProps
}).then(() => {
- (this as any).os.i.account.clientSettings.mobileHome.find(w => w.id == this.id).data = newProps;
+ (this as any).os.i.clientSettings.mobileHome.find(w => w.id == this.id).data = newProps;
});
} else {
(this as any).api('i/update_home', {
id: this.id,
data: newProps
}).then(() => {
- (this as any).os.i.account.clientSettings.home.find(w => w.id == this.id).data = newProps;
+ (this as any).os.i.clientSettings.home.find(w => w.id == this.id).data = newProps;
});
}
}, {