Skip to content

Commit

Permalink
[semver:patch] Fix config is not init yet in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Omry Zobel authored and ZobelOmry committed Oct 19, 2022
1 parent 41c7117 commit 009ba1e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions dist/development/strigo.sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -12194,7 +12194,6 @@ ${JSON.stringify(parsedContext)}` : "");
break;
}
case "submit-assessment" /* SUBMIT_ASSESSMENT */: {
debugger;
const recorderWindowId = window.sessionStorage.getItem(ASSESSMENT_RECORDER_ID_PARAM);
const urlToSave = getURLWithoutStrigoRecorderParams(window.location.href);
window.opener.postMessage({
Expand Down Expand Up @@ -13446,7 +13445,7 @@ ${JSON.stringify(parsedContext)}` : "");
const mainDiv = generatePageStructure();
const academyPanelFrame = appendIFrame({
parentElement: mainDiv,
url: generateStrigoIframeURL(config),
url: generateStrigoIframeURL(config, false),
classNames: STRIGO_IFRAME_CLASSES,
id: "strigo-exercises"
});
Expand Down Expand Up @@ -13588,7 +13587,7 @@ ${JSON.stringify(parsedContext)}` : "");
openWidget: openWidget2 = true,
dockingSide = "right" /* RIGHT */,
isPreview
} = { ...config.user, ...config, ...data };
} = { ...config?.user, ...config, ...data };
if (!email || !token) {
throw new Error("Setup data is missing");
}
Expand Down
Loading

0 comments on commit 009ba1e

Please sign in to comment.