summaryrefslogtreecommitdiff
path: root/src/client/app/common/define-widget.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-06-21 15:08:17 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-06-21 15:08:17 +0900
commitaec5911821cf55dbe8704be964c5ebd3a4a7b66b (patch)
treef11432c834359413dfbc730f1f5e872024b7431a /src/client/app/common/define-widget.ts
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadsharkey-aec5911821cf55dbe8704be964c5ebd3a4a7b66b.tar.gz
sharkey-aec5911821cf55dbe8704be964c5ebd3a4a7b66b.tar.bz2
sharkey-aec5911821cf55dbe8704be964c5ebd3a4a7b66b.zip
Improve sync
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 632ddf2ed6..ba4deafe3a 100644
--- a/src/client/app/common/define-widget.ts
+++ b/src/client/app/common/define-widget.ts
@@ -60,9 +60,9 @@ export default function <T extends object>(data: {
save() {
if (this.platform == 'deck') {
- this.$store.commit('device/updateDeckColumn', this.column);
+ this.$store.commit('updateDeckColumn', this.column);
} else {
- this.$store.commit('device/updateWidget', this.widget);
+ this.$store.commit('updateWidget', this.widget);
}
}
}