1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-04 17:58:43 +09:00

fix #5214 ウィジェットが選択されていないときは追加されないように (#5227)

* fix #5214

* null削除の取り消し

* 空白文字の調整
This commit is contained in:
Oni-Men 2019-07-28 14:12:33 +09:00 committed by syuilo
parent 076ac3b614
commit 333604898c
2 changed files with 4 additions and 0 deletions

View File

@ -224,6 +224,8 @@ export default Vue.extend({
},
addWidget() {
if(this.widgetAdderSelected == null) return;
this.$store.commit('addHomeWidget', {
name: this.widgetAdderSelected,
id: uuid(),

View File

@ -122,6 +122,8 @@ export default Vue.extend({
},
addWidget() {
if(this.widgetAdderSelected == null) return;
this.$store.commit('addMobileHomeWidget', {
name: this.widgetAdderSelected,
id: uuid(),