odaptos_design_system 2.0.103 → 2.0.105
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/dist/odaptos_design_system.cjs.development.js +5 -1
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +5 -1
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Molecules/Interviews/Scenario.tsx +6 -3
|
@@ -13070,7 +13070,11 @@ const Scenario = ({
|
|
|
13070
13070
|
text: buttonText,
|
|
13071
13071
|
iconRight: buttonIcon ?? /*#__PURE__*/React__default.createElement(SendIcon, null),
|
|
13072
13072
|
disabled: disabled,
|
|
13073
|
-
onClick: () =>
|
|
13073
|
+
onClick: () => {
|
|
13074
|
+
localStorage.removeItem('openedTabUrl');
|
|
13075
|
+
window.open(url.includes('https://') ? url : `https://${url}`, '_blank');
|
|
13076
|
+
localStorage.setItem('openedTabUrl', url);
|
|
13077
|
+
}
|
|
13074
13078
|
}));
|
|
13075
13079
|
};
|
|
13076
13080
|
|