@camunda/play 5.5.1-rc.2 → 5.5.1-rc.3
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/build/index.js +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -118724,7 +118724,7 @@ function ELe({
|
|
|
118724
118724
|
}) {
|
|
118725
118725
|
const t = `/test-scenarios/${encodeURIComponent(o)}`;
|
|
118726
118726
|
if (e) {
|
|
118727
|
-
const n = window.location.pathname, i = n.
|
|
118727
|
+
const n = window.location.pathname, i = n.lastIndexOf("/diagrams/");
|
|
118728
118728
|
return i !== -1 ? n.substring(0, i) + t : "/modeler" + t;
|
|
118729
118729
|
}
|
|
118730
118730
|
return t;
|