design-comuni-plone-theme 8.4.4 → 8.4.6

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 CHANGED
@@ -1,11 +1,25 @@
1
1
 
2
2
 
3
- ## [8.4.4](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.4.3...v8.4.4) (2023-08-30)
3
+ ## [8.4.6](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.4.5...v8.4.6) (2023-08-31)
4
4
 
5
5
 
6
6
  ### Bug Fixes
7
7
 
8
- * removed link from last breadcrumb element ([a10237b](https://github.com/RedTurtle/design-comuni-plone-theme/commit/a10237bf697f84d12c0a95045f7203278e3cb42e))
8
+ * changed conditions for campo importi in CT persona ([65931ac](https://github.com/redturtle/design-comuni-plone-theme/commit/65931acb8d1d8a6e12444067573380b639f03291))
9
+
10
+ ## [8.4.5](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.4.4...v8.4.5) (2023-08-30)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * changed conditions for campo compensi in CT persona ([8b2c7c0](https://github.com/redturtle/design-comuni-plone-theme/commit/8b2c7c0ea2e2a8539c3e8ca16077d74539bc6f5d))
16
+
17
+ ## [8.4.4](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.4.3...v8.4.4) (2023-08-30)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * removed link from last breadcrumb element ([a10237b](https://github.com/redturtle/design-comuni-plone-theme/commit/a10237bf697f84d12c0a95045f7203278e3cb42e))
9
23
 
10
24
  ## [8.4.3](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.4.2...v8.4.3) (2023-08-25)
11
25
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "design-comuni-plone-theme",
3
3
  "description": "Volto Theme for Italia design guidelines",
4
4
  "license": "GPL-v3",
5
- "version": "8.4.4",
5
+ "version": "8.4.6",
6
6
  "main": "src/index.js",
7
7
  "keywords": [
8
8
  "volto-addon",
@@ -109,7 +109,8 @@ const PersonaRuolo = ({ content }) => {
109
109
  </RichTextSection>
110
110
  )}
111
111
 
112
- {richTextHasContent(content.incarichi_persona[0].compensi) && (
112
+ {(richTextHasContent(content.incarichi_persona[0].compensi) ||
113
+ content.incarichi_persona[0]?.compensi_file?.length > 0) && (
113
114
  <RichTextSection
114
115
  tag_id="compensi"
115
116
  title={intl.formatMessage(messages.compensi)}
@@ -154,7 +155,8 @@ const PersonaRuolo = ({ content }) => {
154
155
  )}
155
156
  data={content.incarichi_persona[0].importi_di_viaggio_e_o_servizi}
156
157
  >
157
- {content.incarichi_persona[0]?.compensi_file?.length > 0 && (
158
+ {content.incarichi_persona[0]?.importi_di_viaggio_e_o_servizi
159
+ ?.length > 0 && (
158
160
  <div className="compensi-item mb-2">
159
161
  <div className="card-wrapper card-teaser-wrapper card-teaser-wrapper-equal">
160
162
  {content.incarichi_persona[0]?.importi_di_viaggio_e_o_servizi.map(