From e5fe3e3fbde6e4f1b5dd174e05134131bbcf2843 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 });