@dhis2/analytics 23.6.6 → 23.6.7
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,3 +1,10 @@
|
|
|
1
|
+
## [23.6.7](https://github.com/dhis2/analytics/compare/v23.6.6...v23.6.7) (2022-03-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* return the URL portion after origin as default TECH-1036 ([#1175](https://github.com/dhis2/analytics/issues/1175)) ([38607d9](https://github.com/dhis2/analytics/commit/38607d9716f45a8f47ae6003a2e9f90dd4d170a2))
|
|
7
|
+
|
|
1
8
|
## [23.6.6](https://github.com/dhis2/analytics/compare/v23.6.5...v23.6.6) (2022-03-19)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -27,7 +27,8 @@ const appPathFor = (fileType, id) => {
|
|
|
27
27
|
return "dhis-web-maps/index.html?id=".concat(id);
|
|
28
28
|
|
|
29
29
|
default:
|
|
30
|
-
|
|
30
|
+
// strip origin and the first /
|
|
31
|
+
return "".concat(window.location.pathname).concat(window.location.search).concat(window.location.hash).substring(1);
|
|
31
32
|
}
|
|
32
33
|
};
|
|
33
34
|
|
|
@@ -16,6 +16,7 @@ export const appPathFor = (fileType, id) => {
|
|
|
16
16
|
return "dhis-web-maps/index.html?id=".concat(id);
|
|
17
17
|
|
|
18
18
|
default:
|
|
19
|
-
|
|
19
|
+
// strip origin and the first /
|
|
20
|
+
return "".concat(window.location.pathname).concat(window.location.search).concat(window.location.hash).substring(1);
|
|
20
21
|
}
|
|
21
22
|
};
|