design-comuni-plone-theme 8.4.3 → 8.4.4

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,5 +1,12 @@
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)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * removed link from last breadcrumb element ([a10237b](https://github.com/RedTurtle/design-comuni-plone-theme/commit/a10237bf697f84d12c0a95045f7203278e3cb42e))
9
+
3
10
  ## [8.4.3](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.4.2...v8.4.3) (2023-08-25)
4
11
 
5
12
 
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.3",
5
+ "version": "8.4.4",
6
6
  "main": "src/index.js",
7
7
  "keywords": [
8
8
  "volto-addon",
@@ -59,7 +59,10 @@ const Breadcrumbs = ({ pathname }) => {
59
59
  </BreadcrumbItem>
60
60
  {items.map((item, index, items) => (
61
61
  <BreadcrumbItem tag="li" key={item.url}>
62
- <UniversalLink href={item.url}>{item.title}</UniversalLink>
62
+ {index < items.length - 1 && (
63
+ <UniversalLink href={item.url}>{item.title}</UniversalLink>
64
+ )}
65
+ {index === items.length - 1 && <span>{item.title}</span>}
63
66
  {index < items.length - 1 && (
64
67
  <span className="separator">/</span>
65
68
  )}