Browse Source

Fix window path

pull/1/head
Wahyu Ramadhan 1 year ago
parent
commit
436b13822d
  1. 2
      view-mode/function/overlaySCurve.js

2
view-mode/function/overlaySCurve.js

@ -23,7 +23,7 @@ function getSCurveData(){
const parentUrl = event.data.url;
// Remove the base URL and hash
const path = parentUrl.replace("http://localhost:3000/#/dashboard-project/", "");
const path = parentUrl.replace("https://adw.ospro.id/#/dashboard-project/", "");
// Split the remaining path by "/"
const parts = path.split("/");

Loading…
Cancel
Save