diff --git a/src/views/gutenberg-blocks/tainacan-facets/faceted-search/collection-modal.js b/src/views/gutenberg-blocks/tainacan-facets/faceted-search/collection-modal.js index 32c92c917..a2cc456c2 100644 --- a/src/views/gutenberg-blocks/tainacan-facets/faceted-search/collection-modal.js +++ b/src/views/gutenberg-blocks/tainacan-facets/faceted-search/collection-modal.js @@ -11,6 +11,7 @@ export default class CollectionModal extends React.Component { // Initialize state this.state = { + collectionViewModes: [], collectionsPerPage: 24, collectionId: undefined, isLoadingCollections: false, diff --git a/src/views/gutenberg-blocks/tainacan-facets/faceted-search/index.js b/src/views/gutenberg-blocks/tainacan-facets/faceted-search/index.js index 6a97c86c1..dfccb0ddd 100644 --- a/src/views/gutenberg-blocks/tainacan-facets/faceted-search/index.js +++ b/src/views/gutenberg-blocks/tainacan-facets/faceted-search/index.js @@ -584,13 +584,15 @@ registerBlockType('tainacan/faceted-search', { showFullscreenWithViewModes, listType, backgroundColor, - baseFontSize + baseFontSize, + filtersAreaWidth } = attributes; return