diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue
index 95a3e555..ba5e761d 100644
--- a/src/views/settings/components/Inputs.vue
+++ b/src/views/settings/components/Inputs.vue
@@ -167,6 +167,23 @@
{{ setting.description }}
@@ -224,6 +241,9 @@ export default { this.processNestedData([value], this.settingGroup.key, this.setting.key, this.data[this.setting.key]) } }, + iconsValue() { + return this.data[':icons'].map(icon => Object.keys(icon).map(key => [key, icon[key]])) + }, inputValue() { if ([':esshd', ':cors_plug', ':quack', ':http_signatures'].includes(this.settingGroup.group) && this.data[this.setting.key]) { return this.data[this.setting.key].value @@ -276,6 +296,8 @@ export default { } }, methods: { + addIconToIcons() {}, + addValueToIcons() {}, addRowToEditableKeyword() { const updatedValue = this.editableKeywordData(this.data).reduce((acc, el, i) => { return { ...acc, [el[0]]: el[1] } @@ -308,6 +330,7 @@ export default { console.log(updatedValue) this.updateSetting(updatedValue, this.settingGroup.key, this.setting.key) }, + deleteIcondRow(index) {}, deleteMascotsRow(index) { const filteredValues = this.data[':mascots'].filter((el, i) => index !== i) const updatedValue = filteredValues.reduce((acc, el, i) => { @@ -340,6 +363,7 @@ export default { console.log(updatedValue) this.updateSetting(updatedValue, this.settingGroup.key, this.setting.key) }, + parseIcons(value, inputType, index) {}, parseMascots(value, inputType, index) { const updatedValue = this.data[':mascots'].reduce((acc, el, i) => { if (index === i) { diff --git a/src/views/settings/components/Instance.vue b/src/views/settings/components/Instance.vue index d3181c99..e07c4f79 100644 --- a/src/views/settings/components/Instance.vue +++ b/src/views/settings/components/Instance.vue @@ -4,28 +4,32 @@{{ settingGroup.description }}