fix: names of shops in the list of users

This commit is contained in:
Angie
2025-07-31 02:37:34 +02:00
parent 1ffc774cd9
commit 45efcd2716

View File

@@ -181,9 +181,9 @@ async function showAdminInterface() {
"adminWelcome"
).textContent = `Добро пожаловать, ${appState.currentUser.username}!`;
await loadUsers(); // Load users
await loadStores(); // Load stores (first and only time!)
await loadReports(); // Only now load reports (uses storesList)
await loadStores();
await loadUsers();
await loadReports();
updateDashboard();
loadTodos();