Fix stepper for editing category

This commit is contained in:
soupette 2019-12-26 10:04:31 +01:00
parent a5883a0523
commit 3eebcf6c2f
2 changed files with 14 additions and 5 deletions

View File

@ -1,4 +1,6 @@
{ {
"connection": "default",
"collectionName": "customs",
"info": { "info": {
"name": "custom" "name": "custom"
}, },
@ -13,7 +15,5 @@
"default.closingperiod" "default.closingperiod"
] ]
} }
}, }
"connection": "default",
"collectionName": "customs"
} }

View File

@ -43,10 +43,19 @@ function LeftMenu({ wait }) {
actionType: 'edit', actionType: 'edit',
modalType: 'editCategory', modalType: 'editCategory',
categoryName: data.name, categoryName: data.name,
header_label_1: formatMessage({
headerDisplayCategory: formatMessage({
id: getTrad('modalForm.header.categories'), id: getTrad('modalForm.header.categories'),
}), }),
header_icon_name_1: 'component',
header_icon_isCustom_1: false,
header_info_category_1: null,
header_info_name_1: null,
header_label_2: data.name,
header_icon_name_2: null,
header_icon_isCustom_2: false,
header_info_category_2: null,
header_info_name_2: null,
settingType: 'base', settingType: 'base',
}); });