Changeset 0.25.4 (#164)

This commit is contained in:
2026-03-09 20:17:46 +00:00
parent 2f7a0fb027
commit dbc1a97343
22 changed files with 660 additions and 491 deletions

View File

@@ -72,13 +72,15 @@ Object.assign(UI, {
closeAdmin() {
const base = window.__BASE__ || '';
window.location.href = base + '/';
const returnURL = sessionStorage.getItem('sb_admin_return');
sessionStorage.removeItem('sb_admin_return');
window.location.href = returnURL || (base + '/');
},
// ── Navigate to specific section ──────────
openAdminSection(section) {
const base = window.__BASE__ || '';
window.location.href = base + '/admin/' + (section || 'users');
location.replace(base + '/admin/' + (section || 'users'));
},
// ── Category switch ───────────────────────