diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-08 03:58:11 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-08 03:58:11 +0900 |
| commit | a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8 (patch) | |
| tree | bf3c3dacd69737bf79eea0311fed1ddc504b15a5 /src/client/app/common/define-widget.ts | |
| parent | Post --> Note (diff) | |
| download | sharkey-a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8.tar.gz sharkey-a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8.tar.bz2 sharkey-a02ee3a08bac55c9f0b29cb6bc0a15726b7cc3c8.zip | |
Some bug fixes
Diffstat (limited to 'src/client/app/common/define-widget.ts')
| -rw-r--r-- | src/client/app/common/define-widget.ts | 4 |
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; }); } }, { |