From e58a6593c0ea36f13366e9a850b07139c94a540b Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 13 Nov 2018 22:42:31 +0900 Subject: [PATCH] [Client] Fix bug --- src/client/app/common/define-widget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/common/define-widget.ts b/src/client/app/common/define-widget.ts index 2fae28be7..56314a410 100644 --- a/src/client/app/common/define-widget.ts +++ b/src/client/app/common/define-widget.ts @@ -66,7 +66,7 @@ export default function(data: { this.bakeProps(); - (this as any).api('i/update_widget', { + this.$root.api('i/update_widget', { id: this.id, data: this.props });