From a4ee64b3d1b27feb9d9ddb3c62117c668f11f04d Mon Sep 17 00:00:00 2001 From: andrei-mihnea-cerbu Date: Wed, 5 Feb 2025 11:21:41 +0200 Subject: [PATCH] fixed signup --- User/render/js/sign_up.js | 2 +- User/src/main/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/User/render/js/sign_up.js b/User/render/js/sign_up.js index c466aa5..2671834 100644 --- a/User/render/js/sign_up.js +++ b/User/render/js/sign_up.js @@ -102,7 +102,7 @@ document.addEventListener('DOMContentLoaded', async function () { }); async function getDepartments() { - if (!await window.electronAPI.sendUcMessage('GET_DEPARTMENTS')) return null; + if (!await window.networkAPI.sendUcMessage('GET_DEPARTMENTS')) return null; const response = await waitForResponse(); console.log(response); diff --git a/User/src/main/main.ts b/User/src/main/main.ts index 2313fcd..f3c9b29 100644 --- a/User/src/main/main.ts +++ b/User/src/main/main.ts @@ -113,7 +113,7 @@ app.whenReady().then(async () => { }, }) - //mainWindow.removeMenu() + mainWindow.removeMenu() await ensureDirectoryExists(pathToClientsBackups)