diff --git a/src/views/gutenberg-blocks/tainacan-blocks/carousel-collections-list/edit.js b/src/views/gutenberg-blocks/tainacan-blocks/carousel-collections-list/edit.js index a21448620..3eaef215c 100644 --- a/src/views/gutenberg-blocks/tainacan-blocks/carousel-collections-list/edit.js +++ b/src/views/gutenberg-blocks/tainacan-blocks/carousel-collections-list/edit.js @@ -70,8 +70,7 @@ export default function ({ attributes, setAttributes, className, isSelected, cli } + href={ collection.url }> { !showCollectionThumbnail ?
+ :href="collection.url"> + :href="collection.url">
+ href={ item.url }>
4 ? (!cropImagesToSquare ? 'tainacan-medium-full' : 'tainacan-medium') : 'large'), item['document_mimetype']) } @@ -569,7 +568,6 @@ export default function({ attributes, setAttributes, className, isSelected, clie :
+ :href="item.url"> + href={ term.url }> { !showTermThumbnail ?
+ :href="term.url"> @@ -29,8 +28,7 @@ + :href="term.url">
event.preventDefault() } - target="_blank" className={ (!showName ? 'item-without-title' : '') + ' ' + (!showImage ? 'item-without-image' : '') }> { - { item.title ? item.title : '' } + { item.title ? + { item.title } + : null } ); @@ -848,7 +849,6 @@ export default function({ attributes, setAttributes, className, isSelected, clie :
diff --git a/src/views/gutenberg-blocks/tainacan-blocks/facets-list/edit.js b/src/views/gutenberg-blocks/tainacan-blocks/facets-list/edit.js index c815cd2b0..2b4bc7791 100644 --- a/src/views/gutenberg-blocks/tainacan-blocks/facets-list/edit.js +++ b/src/views/gutenberg-blocks/tainacan-blocks/facets-list/edit.js @@ -99,7 +99,6 @@ export default function({ attributes, setAttributes, className, isSelected, clie id={ isNaN(facetId) ? facetId : 'facet-id-' + facetId } href={ !appendChildTerms ? ((linkTermFacetsToTermPage && isMetadatumTypeTaxonomy(metadatumType)) ? facet.term_url : facet.url) : (facet.total_children > 0 ? null : (linkTermFacetsToTermPage ? facet.term_url : facet.url)) } onClick={ () => { (appendChildTerms && facet.total_children > 0) ? displayChildTerms(facetId) : null } } - target="_blank" style={{ fontSize: layout == 'cloud' && facet.total_items ? + (1 + (cloudRate/4) * Math.log(facet.total_items)) + 'em' : ''}}> { isMetadatumTypeTaxonomy(metadatumType) ?