Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 591 Bytes

2021-06-03-fix-default-layout-not-used-for-new-category.md

File metadata and controls

9 lines (9 loc) · 591 Bytes
title issue
Fix default category layout not used for a new category
NEXT-15529

Administration

  • Changed method createNewCategory in src/module/sw-category/component/sw-category-tree/index.js to set cmsPageId.
  • Added method loadDefaultLayout in src/module/sw-category/component/sw-category-tree/index.js to load and set layout default.
  • Added computed defaultLayout in src/module/sw-category/component/sw-category-tree/index.js to get default layout in state.
  • Added computed defaultLayoutCriteria in src/module/sw-category/component/sw-category-tree/index.js.