fixed signup

This commit is contained in:
andrei-mihnea-cerbu
2025-02-05 11:21:41 +02:00
parent 52d5f16300
commit a4ee64b3d1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ document.addEventListener('DOMContentLoaded', async function () {
}); });
async function getDepartments() { 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(); const response = await waitForResponse();
console.log(response); console.log(response);
+1 -1
View File
@@ -113,7 +113,7 @@ app.whenReady().then(async () => {
}, },
}) })
//mainWindow.removeMenu() mainWindow.removeMenu()
await ensureDirectoryExists(pathToClientsBackups) await ensureDirectoryExists(pathToClientsBackups)