title | issue | author | author_email | author_github |
---|---|---|---|---|
Filter blocks and elements based on page type |
NEXT-17716 |
Niklas Limberg |
n.limberg@shopware.com |
NiklasLimberg |
- Added functions to the
cms.service
which determine whether a block/element is allowed on a given page type - Changed
sw-cms-sidebar/index.js
to restrict the selection of blocks based on the page type - Changed
sw-cms-slot/index.js
to restrict the selection of elements based on the page type - Changed the CMS-Block
sidebar-filter
to restrict it to certain page types - Changed the CMS-Element
sidebar-filter
to restrict it to certain page types - Added property
currentPageType
to thecms-page-state
store - Changed
sw-cms-detail/index.js
to set the current page type in thecms-page-state
store