From 90bff71fcb2fc43cf634c8a43ba98281975af63e Mon Sep 17 00:00:00 2001 From: vnmedeiros Date: Mon, 7 Dec 2020 17:34:53 -0300 Subject: [PATCH] fix: deprecations on facet block #450 --- .../gutenberg-blocks/tainacan-facets/facets-list/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/gutenberg-blocks/tainacan-facets/facets-list/index.js b/src/views/gutenberg-blocks/tainacan-facets/facets-list/index.js index 3a4448dd3..ab2828670 100644 --- a/src/views/gutenberg-blocks/tainacan-facets/facets-list/index.js +++ b/src/views/gutenberg-blocks/tainacan-facets/facets-list/index.js @@ -1034,12 +1034,12 @@ registerBlockType('tainacan/facets-list', { collection-slug={ collectionSlug } parent-term-id={ parentTerm ? parentTerm.id : undefined } show-image={ '' + showImage } - name-inside-image={ '' + nameInsideImage } + name-inside-image={ nameInsideImage === true ? 'true' : 'false' } show-items-count={ '' + showItemsCount } show-search-bar={ '' + showSearchBar } show-load-more={ '' + showLoadMore } - append-child-terms={ '' + appendChildTerms } - link-term-facets-to-term-page={ '' + linkTermFacetsToTermPage } + append-child-terms={ (appendChildTerms === true ? 'true' : 'false') } + link-term-facets-to-term-page={ linkTermFacetsToTermPage === false ? 'false' : 'true' } layout={ layout } cloud-rate={ cloudRate } grid-margin={ gridMargin }