From 430d53bbb81630739740a2622a065b97d379e0d5 Mon Sep 17 00:00:00 2001 From: Oni-Men Date: Sun, 28 Jul 2019 14:12:33 +0900 Subject: [PATCH] =?UTF-8?q?fix=20#5214=20=E3=82=A6=E3=82=A3=E3=82=B8?= =?UTF-8?q?=E3=82=A7=E3=83=83=E3=83=88=E3=81=8C=E9=81=B8=E6=8A=9E=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=81=84=E3=81=AA=E3=81=84=E3=81=A8=E3=81=8D?= =?UTF-8?q?=E3=81=AF=E8=BF=BD=E5=8A=A0=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=20(#5227)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix #5214 * null削除の取り消し * 空白文字の調整 --- src/client/app/desktop/views/home/home.vue | 2 ++ src/client/app/mobile/views/pages/widgets.vue | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/client/app/desktop/views/home/home.vue b/src/client/app/desktop/views/home/home.vue index 527c2d52e..2d9cf72d9 100644 --- a/src/client/app/desktop/views/home/home.vue +++ b/src/client/app/desktop/views/home/home.vue @@ -224,6 +224,8 @@ export default Vue.extend({ }, addWidget() { + if(this.widgetAdderSelected == null) return; + this.$store.commit('addHomeWidget', { name: this.widgetAdderSelected, id: uuid(), diff --git a/src/client/app/mobile/views/pages/widgets.vue b/src/client/app/mobile/views/pages/widgets.vue index 941b58b44..5c8362756 100644 --- a/src/client/app/mobile/views/pages/widgets.vue +++ b/src/client/app/mobile/views/pages/widgets.vue @@ -122,6 +122,8 @@ export default Vue.extend({ }, addWidget() { + if(this.widgetAdderSelected == null) return; + this.$store.commit('addMobileHomeWidget', { name: this.widgetAdderSelected, id: uuid(),