diff --git a/src/electron/frontend/core/components/pages/guided-mode/data/GuidedSourceData.js b/src/electron/frontend/core/components/pages/guided-mode/data/GuidedSourceData.js index 065c96b63..088a418a7 100644 --- a/src/electron/frontend/core/components/pages/guided-mode/data/GuidedSourceData.js +++ b/src/electron/frontend/core/components/pages/guided-mode/data/GuidedSourceData.js @@ -80,11 +80,10 @@ export class GuidedSourceDataPage extends ManagedPage { heightAuto: false, backdrop: "rgba(0,0,0, 0.4)", timerProgressBar: false, - didOpen: () => Swal.showLoading() + didOpen: () => Swal.showLoading(), }); }; - setTimeout(() => { if (stillFireSwal) fireSwal(); }); diff --git a/src/electron/frontend/core/components/pages/guided-mode/options/utils.js b/src/electron/frontend/core/components/pages/guided-mode/options/utils.js index 876c2738b..6a2764cf2 100644 --- a/src/electron/frontend/core/components/pages/guided-mode/options/utils.js +++ b/src/electron/frontend/core/components/pages/guided-mode/options/utils.js @@ -75,7 +75,7 @@ export const run = async (pathname, payload, options = {}) => { // Clear private keys from being passed payload = sanitize(structuredClone(payload)); - console.warn('FETCH?') + console.warn("FETCH?"); const results = await fetch(new URL(pathname, baseUrl), { method: "POST", headers: { "Content-Type": "application/json" }, @@ -84,7 +84,7 @@ export const run = async (pathname, payload, options = {}) => { }) .then(async (res) => { const json = await res.json(); - console.warn('FETCH!', json) + console.warn("FETCH!", json); if (!res.ok) { const message = json.message; @@ -95,11 +95,10 @@ export const run = async (pathname, payload, options = {}) => { return json; }) .finally(() => { - console.warn('CANCEL?') + console.warn("CANCEL?"); if (internalSwal) Swal.close(); }); - return results || true; };