forked from AkkomaGang/admin-fe
Fix getting data for icon inputs
This commit is contained in:
parent
b6a66ebe20
commit
710bb8bfa7
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ export default {
|
||||||
this.$store.state.settings.db[group][key].includes(this.setting.key)
|
this.$store.state.settings.db[group][key].includes(this.setting.key)
|
||||||
},
|
},
|
||||||
iconsData() {
|
iconsData() {
|
||||||
return Array.isArray(this.data[':icons']) ? this.data[':icons'] : []
|
return Array.isArray(this.data) ? this.data : []
|
||||||
},
|
},
|
||||||
inputValue() {
|
inputValue() {
|
||||||
if ([':esshd', ':cors_plug', ':quack', ':tesla', ':swoosh'].includes(this.settingGroup.group) &&
|
if ([':esshd', ':cors_plug', ':quack', ':tesla', ':swoosh'].includes(this.settingGroup.group) &&
|
||||||
|
|
Loading…
Reference in a new issue