@eeacms/volto-cca-policy 0.1.78 → 0.1.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/components/theme/Header.jsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [0.1.79](https://github.com/eea/volto-cca-policy/compare/0.1.78...0.1.79) - 20 February 2024
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- Don't crash in root [Tiberiu Ichim - [`ed2eb04`](https://github.com/eea/volto-cca-policy/commit/ed2eb04841fa3adb737138f6d8d9f7e0aaf3d776)]
|
|
7
12
|
### [0.1.78](https://github.com/eea/volto-cca-policy/compare/0.1.77...0.1.78) - 20 February 2024
|
|
8
13
|
|
|
9
14
|
#### :house: Internal changes
|
package/package.json
CHANGED
|
@@ -108,7 +108,7 @@ const EEAHeader = (props) => {
|
|
|
108
108
|
}
|
|
109
109
|
}, [token, dispatch, pathname, previousToken]);
|
|
110
110
|
|
|
111
|
-
const download = subsite?.subsite_logo
|
|
111
|
+
const download = subsite?.subsite_logo?.scales?.preview?.download;
|
|
112
112
|
const subsiteLogo = subsite?.subsite_logo
|
|
113
113
|
? download || toPublicURL(`${subsite['@id']}/@@images/subsite_logo`)
|
|
114
114
|
: null;
|