impaktapps-ui-builder 0.0.379 → 0.0.380
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.
|
@@ -8315,7 +8315,7 @@ const downloadFile$1 = (obj) => {
|
|
|
8315
8315
|
document.body.removeChild(link);
|
|
8316
8316
|
};
|
|
8317
8317
|
const clickDownloadLink = (response2, service2) => {
|
|
8318
|
-
const user = JSON.parse(localStorage.
|
|
8318
|
+
const user = JSON.parse(localStorage.getItem("user"));
|
|
8319
8319
|
let url = `${service2.defaults.baseURL}/${response2.path}?Authorization=${user.token}`;
|
|
8320
8320
|
if (response2 == null ? void 0 : response2.params) {
|
|
8321
8321
|
const keysArray = Object.keys(response2 == null ? void 0 : response2.params);
|