diff --git a/CHANGELOG.md b/CHANGELOG.md index 8739d36..99b2a2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +### [7.0.4](https://github.com/eea/volto-tableau/compare/7.0.3...7.0.4) - 5 December 2023 + +#### :hammer_and_wrench: Others + +- fix tests [Miu Razvan - [`3a880ab`](https://github.com/eea/volto-tableau/commit/3a880aba0ff02bb568a1778e07b48b572472e44a)] +- fix default height [Miu Razvan - [`0eb7ebb`](https://github.com/eea/volto-tableau/commit/0eb7ebb7c5f702ffb3f0ae679b90f27ad7cbb080)] ### [7.0.3](https://github.com/eea/volto-tableau/compare/7.0.2...7.0.3) - 29 November 2023 #### :hammer_and_wrench: Others diff --git a/package.json b/package.json index 0994742..f1f3f0f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-tableau", - "version": "7.0.3", + "version": "7.0.4", "description": "@eeacms/volto-tableau: Volto add-on", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team", diff --git a/src/Blocks/EmbedTableauVisualization/__snapshots__/Edit.test.jsx.snap b/src/Blocks/EmbedTableauVisualization/__snapshots__/Edit.test.jsx.snap index c052763..ccf8e6d 100644 --- a/src/Blocks/EmbedTableauVisualization/__snapshots__/Edit.test.jsx.snap +++ b/src/Blocks/EmbedTableauVisualization/__snapshots__/Edit.test.jsx.snap @@ -21,7 +21,11 @@ Array [ >
diff --git a/src/Blocks/EmbedTableauVisualization/__snapshots__/View.test.jsx.snap b/src/Blocks/EmbedTableauVisualization/__snapshots__/View.test.jsx.snap index 4cb63db..51768a1 100644 --- a/src/Blocks/EmbedTableauVisualization/__snapshots__/View.test.jsx.snap +++ b/src/Blocks/EmbedTableauVisualization/__snapshots__/View.test.jsx.snap @@ -20,7 +20,11 @@ exports[`View should render the component 1`] = ` > diff --git a/src/Tableau/Tableau.jsx b/src/Tableau/Tableau.jsx index a9e0bda..b432c65 100644 --- a/src/Tableau/Tableau.jsx +++ b/src/Tableau/Tableau.jsx @@ -34,7 +34,7 @@ function getHeight(height) { if (asNumber) { return `${height}px`; } - return height; + return height || '700px'; } const TableauDebug = ({ mode, data, vizState, url, version, clearData }) => { @@ -438,7 +438,7 @@ const Tableau = forwardRef((props, ref) => { clearData={clearData} />