mirror of
https://github.com/strapi/strapi.git
synced 2025-09-01 04:42:58 +00:00
Fix stepper for editing category
This commit is contained in:
parent
a5883a0523
commit
3eebcf6c2f
@ -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"
|
|
||||||
}
|
}
|
||||||
|
@ -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',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user