@eeacms/volto-clms-theme 1.1.186 → 1.1.187

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
@@ -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
+ ### [1.1.187](https://github.com/eea/volto-clms-theme/compare/1.1.186...1.1.187) - 20 September 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Refs #277384 - Use the same /@@download/file for editors not only for anonymous in case of files. [Ghiță Bizău - [`b0b0dc0`](https://github.com/eea/volto-clms-theme/commit/b0b0dc092f8d4e4fb395f2ab682de5d46f8bcce9)]
7
12
  ### [1.1.186](https://github.com/eea/volto-clms-theme/compare/1.1.185...1.1.186) - 19 September 2024
8
13
 
9
14
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.186",
3
+ "version": "1.1.187",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -31,7 +31,7 @@ const UniversalLink = ({
31
31
 
32
32
  let url = href;
33
33
 
34
- if (!token && isFileDownload) {
34
+ if (isFileDownload) {
35
35
  url = `${url}/@@download/file`;
36
36
  }
37
37