added some error handling

This commit is contained in:
authentik Default Admin 2026-03-04 18:55:48 -08:00
parent 8b6f09cead
commit c25700d7cd
4 changed files with 154 additions and 29 deletions

View file

@ -4,6 +4,7 @@ import { StoreController } from "../controllers/store-controller.js";
import "./nav-bar.js";
import "./page-home.js";
import "./page-items.js";
import "./error-toast.js";
class AppRoot extends LitElement {
#hydrated = new StoreController(this, store, s => s._hydrated);
@ -31,6 +32,7 @@ class AppRoot extends LitElement {
return html`
<nav-bar .user=${this.#user.value}></nav-bar>
<main>${this.#renderRoute()}</main>
<error-toast></error-toast>
`;
}