diff --git a/hub-categories/src/pages/edit/CategoryDetails.vue b/hub-categories/src/pages/edit/CategoryDetails.vue index 9f29631..9975b76 100644 --- a/hub-categories/src/pages/edit/CategoryDetails.vue +++ b/hub-categories/src/pages/edit/CategoryDetails.vue @@ -80,6 +80,14 @@ export default { if (attribute.group && !exists) { groups.push(attribute.group.data) } + + if (!data.attribute_data[attribute.handle]) { + this.$set(data.attribute_data, attribute.handle, { + [this.channel]: { + en: '' + } + }) + } }) groups = orderBy(groups, 'position', 'asc')