fix: names of shops in the list of users
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user