remember tab added

This commit is contained in:
chris 2025-08-10 09:37:46 -04:00
parent 688712e6da
commit 4fd18e5ea3
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ import {
let user = null; let user = null;
let authToken = null; let authToken = null;
let lastAdminTab = 'overview'; let lastAdminTab = 'overview';
export { lastAdminTab };
// --- EVENT HANDLERS (The "Logic") --- // --- EVENT HANDLERS (The "Logic") ---
async function handleAuthSubmit(e) { async function handleAuthSubmit(e) {

View File

@ -7,6 +7,7 @@ import {
attachAuthFormListener, attachAuthFormListener,
attachAdminDashboardListeners, attachAdminDashboardListeners,
attachEmployeeDashboardListeners, attachEmployeeDashboardListeners,
lastAdminTab
} from './main.js'; } from './main.js';
// --- DOM ELEMENT SELECTORS --- // --- DOM ELEMENT SELECTORS ---