From 7c5fb5087cf4e6a9c1dde37ead03e4340031cae5 Mon Sep 17 00:00:00 2001 From: Dobricean Ioan Dorian Date: Fri, 19 Jan 2024 23:08:50 +0200 Subject: [PATCH 1/2] fix foontoes not visibile on view --- src/Blocks/Footnote/FootnotesBlockView.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Blocks/Footnote/FootnotesBlockView.jsx b/src/Blocks/Footnote/FootnotesBlockView.jsx index 4b4c2a2..e7788f4 100644 --- a/src/Blocks/Footnote/FootnotesBlockView.jsx +++ b/src/Blocks/Footnote/FootnotesBlockView.jsx @@ -25,13 +25,14 @@ const FootnotesBlockView = (props) => { const metadata = props.metadata ? props.metadata : properties; - const localMetadata = content + const localMetadata = global + ? metadata + : content ? content : tabData ? tabData - : global - ? metadata : properties; + const blocks = getAllBlocksAndSlateFields(localMetadata); const notesObj = makeFootnoteListOfUniqueItems(blocks); let startList = 1; From c4162c9e1b346b8af9ffa8e05525012b31306ed9 Mon Sep 17 00:00:00 2001 From: EEA Jenkins <@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:42:07 +0000 Subject: [PATCH 2/2] Automated release 6.2.2 --- CHANGELOG.md | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 065d71f..07a77c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ 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). +### [6.2.2](https://github.com/eea/volto-slate-footnote/compare/6.2.1...6.2.2) - 20 January 2024 + +#### :hammer_and_wrench: Others + +- fix foontoes not visibile on view [Dobricean Ioan Dorian - [`7c5fb50`](https://github.com/eea/volto-slate-footnote/commit/7c5fb5087cf4e6a9c1dde37ead03e4340031cae5)] ### [6.2.1](https://github.com/eea/volto-slate-footnote/compare/6.2.0...6.2.1) - 18 January 2024 #### :bug: Bug Fixes diff --git a/package.json b/package.json index 23252ce..678d8da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-slate-footnote", - "version": "6.2.1", + "version": "6.2.2", "description": "volto-slate-footnote: Volto add-on", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team",