From 230298a23f9f67d76721b201cafdfd60c8be0f17 Mon Sep 17 00:00:00 2001 From: Alin Voinea Date: Mon, 22 Aug 2022 14:30:52 +0300 Subject: [PATCH 1/3] fix(countTextInBlocks): Don't count text if maxChars is not set - refs #153110 --- src/components/manage/Blocks/Group/Edit.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/manage/Blocks/Group/Edit.jsx b/src/components/manage/Blocks/Group/Edit.jsx index 2e07a66..115c9c6 100644 --- a/src/components/manage/Blocks/Group/Edit.jsx +++ b/src/components/manage/Blocks/Group/Edit.jsx @@ -80,6 +80,9 @@ const Edit = (props) => { */ const countTextInBlocks = (blocksObject) => { let groupCharCount = 0; + if (!props.data.maxChars) { + return groupCharCount; + } Object.keys(blocksObject).forEach((blockId) => { const foundText = blocksObject[blockId]?.plaintext From a5288c47be8d1d930e36408cd2b18868ce59ba44 Mon Sep 17 00:00:00 2001 From: Alin Voinea Date: Mon, 22 Aug 2022 17:08:23 +0300 Subject: [PATCH 2/3] [JENKINS] - Run cypress on Volto 16.0.0-alpha.14 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d051fe2..fd627db 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ pipeline { NAMESPACE = "@eeacms" SONARQUBE_TAGS = "volto.eea.europa.eu,forest.eea.europa.eu,www.eea.europa.eu-ims,climate-energy.eea.europa.eu,sustainability.eionet.europa.eu,biodiversity.europa.eu,clms.land.copernicus.eu,industry.eea.europa.eu,water.europa.eu-freshwater,demo-www.eea.europa.eu,clmsdemo.devel6cph.eea.europa.eu,circularity.eea.europa.eu" DEPENDENCIES = "" - VOLTO = "alpha" + VOLTO = "16.0.0-alpha.14" } stages { From 09a553e316a77335ec97f4342310c19ea8b275f8 Mon Sep 17 00:00:00 2001 From: EEA Jenkins <@users.noreply.github.com> Date: Mon, 22 Aug 2022 14:16:27 +0000 Subject: [PATCH 3/3] Automated release 4.3.7 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91caedd..b5ff190 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,15 @@ 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). +#### [4.3.7](https://github.com/eea/volto-group-block/compare/4.3.6...4.3.7) + +- fix(countTextInBlocks): Don't count text if maxChars is not set - refs #153110 [`230298a`](https://github.com/eea/volto-group-block/commit/230298a23f9f67d76721b201cafdfd60c8be0f17) + #### [4.3.6](https://github.com/eea/volto-group-block/compare/4.3.5...4.3.6) +> 30 June 2022 + +- develop [`#20`](https://github.com/eea/volto-group-block/pull/20) #### [4.3.5](https://github.com/eea/volto-group-block/compare/4.3.4...4.3.5) diff --git a/package.json b/package.json index 2c824a5..78f33ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-group-block", - "version": "4.3.6", + "version": "4.3.7", "description": "volto-group-block: Volto block to be used to group other blocks", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team",