mirror of
https://github.com/KevinMidboe/immich.git
synced 2026-02-04 23:45:53 +00:00
feat(web): meta tags for share links (#1290)
* feat(web): meta tags for share links * refactor: svelte head tags * chore: clean up * chore: linting
This commit is contained in:
@@ -13,5 +13,10 @@ export const load: PageServerLoad = async ({ parent }) => {
|
||||
|
||||
const { data: allUsers } = await serverApi.userApi.getAllUsers(false);
|
||||
|
||||
return { allUsers };
|
||||
return {
|
||||
allUsers,
|
||||
meta: {
|
||||
title: 'Server Status'
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -3,10 +3,6 @@
|
||||
import { page } from '$app/stores';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>Server Status - Immich</title>
|
||||
</svelte:head>
|
||||
|
||||
{#if $page.data.allUsers}
|
||||
<ServerStatsPanel allUsers={$page.data.allUsers} />
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user