Skip to content

Commit

Permalink
Merge pull request #62 from eea/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
avoinea committed Jan 20, 2024
2 parents 4b171bb + c4162c9 commit da27b5b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 4 additions & 3 deletions src/Blocks/Footnote/FootnotesBlockView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit da27b5b

Please sign in to comment.