feat: title for all routes

This commit is contained in:
Timothy J. Baek 2024-03-01 22:38:04 -08:00
parent e5c812f1d2
commit 78d9c469a2
5 changed files with 34 additions and 4 deletions

View file

@ -1,6 +1,6 @@
<script>
import { WEBUI_API_BASE_URL } from '$lib/constants';
import { config, user } from '$lib/stores';
import { WEBUI_NAME, config, user } from '$lib/stores';
import { goto } from '$app/navigation';
import { onMount } from 'svelte';
@ -61,6 +61,12 @@
});
</script>
<svelte:head>
<title>
{`Admin Panel | ${$WEBUI_NAME}`}
</title>
</svelte:head>
{#key selectedUser}
<EditUserModal
bind:show={showEditUserModal}