diff --git a/bundles/org.openhab.ui/web/src/components/item/item-form.vue b/bundles/org.openhab.ui/web/src/components/item/item-form.vue index 899e3bb3b..8e52f2954 100644 --- a/bundles/org.openhab.ui/web/src/components/item/item-form.vue +++ b/bundles/org.openhab.ui/web/src/components/item/item-form.vue @@ -52,7 +52,7 @@ -
diff --git a/bundles/org.openhab.ui/web/src/pages/settings/items/item-edit.vue b/bundles/org.openhab.ui/web/src/pages/settings/items/item-edit.vue index cdcbfdbfe..d57c6f10a 100644 --- a/bundles/org.openhab.ui/web/src/pages/settings/items/item-edit.vue +++ b/bundles/org.openhab.ui/web/src/pages/settings/items/item-edit.vue @@ -237,7 +237,7 @@ export default { const yamlObj = { label: this.item.label, type: this.item.type, - category: this.item.category || '', + icon: this.item.category || '', groupNames: this.item.groupNames || [], tags: this.item.tags // metadata: this.item.metadata @@ -257,7 +257,7 @@ export default { if (updatedItem.tags == null) updatedItem.tags = [] this.$set(this.item, 'label', updatedItem.label) this.$set(this.item, 'type', updatedItem.type) - this.$set(this.item, 'category', updatedItem.category) + this.$set(this.item, 'category', updatedItem.icon) this.$set(this.item, 'groupNames', updatedItem.groupNames) this.$set(this.item, 'groupType', updatedItem.groupType) this.$set(this.item, 'function', updatedItem.function)