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": {
"name": "custom"
},
@ -13,7 +15,5 @@
"default.closingperiod"
]
}
},
"connection": "default",
"collectionName": "customs"
}
}

View File

@ -43,10 +43,19 @@ function LeftMenu({ wait }) {
actionType: 'edit',
modalType: 'editCategory',
categoryName: data.name,
headerDisplayCategory: formatMessage({
header_label_1: formatMessage({
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',
});