UI Admin aproape finalizat
This commit is contained in:
@@ -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(){
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user