title | issue |
---|---|
Fix default category layout not used for a new category |
NEXT-15529 |
- Changed method
createNewCategory
insrc/module/sw-category/component/sw-category-tree/index.js
to set cmsPageId. - Added method
loadDefaultLayout
insrc/module/sw-category/component/sw-category-tree/index.js
to load and set layout default. - Added computed
defaultLayout
insrc/module/sw-category/component/sw-category-tree/index.js
to get default layout in state. - Added computed
defaultLayoutCriteria
insrc/module/sw-category/component/sw-category-tree/index.js
.