Skip to content

Commit

Permalink
Merge pull request #52 from eea/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
avoinea authored Aug 5, 2024
2 parents 77f4d82 + 603d96a commit 3119288
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.2](https://github.com/eea/volto-metadata-block/compare/7.0.1...7.0.2) - 5 August 2024

#### :hammer_and_wrench: Others

- add style error for the metadata block [dobri1408 - [`905c96d`](https://github.com/eea/volto-metadata-block/commit/905c96d2bdd471a8bb4f1c02d6582d1560a03f2e)]
- Pass errors to metadata block to show them [dobri1408 - [`8e920b0`](https://github.com/eea/volto-metadata-block/commit/8e920b0d6f96bb670deb9275a484d2589af0749a)]
### [7.0.1](https://github.com/eea/volto-metadata-block/compare/7.0.0...7.0.1) - 22 July 2024

#### :house: Internal changes
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-metadata-block",
"version": "7.0.1",
"version": "7.0.2",
"description": "Volto Metadata Block",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
2 changes: 2 additions & 0 deletions src/components/manage/Blocks/Metadata/Edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const EditMetadataBlock = (props) => {
onChangeField,
properties,
metadata,
errors,
} = props;
const [metadata_id, setMetadata_id] = useState(data?.data?.id);
const schema = useSelector((state) => {
Expand Down Expand Up @@ -48,6 +49,7 @@ const EditMetadataBlock = (props) => {
}}
key={metadata_id}
block={block}
error={errors?.[metadata_id]}
/>
) : (
<SelectMetadataBlock
Expand Down
3 changes: 2 additions & 1 deletion src/less/public.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ label.metadata.block {
font-weight: bold;
}

.block.metadata-section {
.block.metadata-section,
.block.metadata {
.form-error-label {
border: none !important;
}
Expand Down

0 comments on commit 3119288

Please sign in to comment.