From 45efcd27164851026a4b7fd4e7101357722db4f7 Mon Sep 17 00:00:00 2001 From: Angie Date: Thu, 31 Jul 2025 02:37:34 +0200 Subject: [PATCH] fix: names of shops in the list of users --- frontend/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/script.js b/frontend/script.js index d6151b7..2f82065 100644 --- a/frontend/script.js +++ b/frontend/script.js @@ -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();