diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-13 22:42:31 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-13 22:42:31 +0900 |
| commit | e58a6593c0ea36f13366e9a850b07139c94a540b (patch) | |
| tree | 41b7e962f94765ad51040e3d42e07985f9b3d34d | |
| parent | [Client] Split components to reduce bundle size (diff) | |
| download | misskey-e58a6593c0ea36f13366e9a850b07139c94a540b.tar.gz misskey-e58a6593c0ea36f13366e9a850b07139c94a540b.tar.bz2 misskey-e58a6593c0ea36f13366e9a850b07139c94a540b.zip | |
[Client] Fix bug
| -rw-r--r-- | src/client/app/common/define-widget.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/define-widget.ts b/src/client/app/common/define-widget.ts index 2fae28be72..56314a4104 100644 --- a/src/client/app/common/define-widget.ts +++ b/src/client/app/common/define-widget.ts @@ -66,7 +66,7 @@ export default function<T extends object>(data: { this.bakeProps(); - (this as any).api('i/update_widget', { + this.$root.api('i/update_widget', { id: this.id, data: this.props }); |