UI Admin aproape finalizat

This commit is contained in:
andrei-mihnea-cerbu
2024-04-03 02:09:12 +03:00
parent fb957a6f97
commit af8c295d75
134 changed files with 5014 additions and 1045 deletions
+2 -6
View File
@@ -94,7 +94,7 @@ document.addEventListener('DOMContentLoaded', async function () {
triggerSource = '';
});
checkFileExists()
checkDirBackupFileExists()
.then(() => console.log('verificare facuta'));
await insertUsername();
@@ -135,7 +135,7 @@ document.addEventListener('DOMContentLoaded', async function () {
.catch(error => console.error('Error navigating:', error));
});
async function checkFileExists() {
async function checkDirBackupFileExists() {
try {
// Make an IPC call to check file existence
const fileExists = await window.electronAPI.checkFileExists('dirBackup.json');
@@ -188,8 +188,4 @@ document.addEventListener('DOMContentLoaded', async function () {
async function decryptFiles(){
}
async function getCeoPassword(){
}
});