From 710bb8bfa78893f92d2c121d671b5a86f406455a Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sun, 12 Jul 2020 02:18:14 +0300 Subject: [PATCH] Fix getting data for icon inputs --- src/views/settings/components/Inputs.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue index 44e4ad19..ae4ae220 100644 --- a/src/views/settings/components/Inputs.vue +++ b/src/views/settings/components/Inputs.vue @@ -209,7 +209,7 @@ export default { this.$store.state.settings.db[group][key].includes(this.setting.key) }, iconsData() { - return Array.isArray(this.data[':icons']) ? this.data[':icons'] : [] + return Array.isArray(this.data) ? this.data : [] }, inputValue() { if ([':esshd', ':cors_plug', ':quack', ':tesla', ':swoosh'].includes(this.settingGroup.group) &&