chore: conditional rendering of umami

This commit is contained in:
Rotimi Best
2026-03-11 10:37:44 +01:00
parent 996f40bddf
commit d19dddd8cd
10 changed files with 33 additions and 25 deletions
@@ -29,10 +29,10 @@
function onClick(org: AccountOrg) {
if (org.id === $currentOrg.id) return;
localStorage.setItem('classroomio_org_sitename', org.siteName);
localStorage.setItem('classroomio_org_sitename', org.siteName!);
currentOrg.set(org);
setTheme(org.theme);
setTheme(org.theme!);
window.location.href = $currentOrgPath;
}
</script>