mirror of
https://github.com/immich-app/immich.git
synced 2025-01-03 13:09:27 +02:00
chore(web): redirect share page redirect to base path (#5889)
This commit is contained in:
parent
64176d2ff4
commit
19d66296fe
@ -81,11 +81,7 @@
|
|||||||
{:else}
|
{:else}
|
||||||
<ControlAppBar on:close={() => goto(AppRoute.PHOTOS)} backIcon={mdiArrowLeft} showBackButton={false}>
|
<ControlAppBar on:close={() => goto(AppRoute.PHOTOS)} backIcon={mdiArrowLeft} showBackButton={false}>
|
||||||
<svelte:fragment slot="leading">
|
<svelte:fragment slot="leading">
|
||||||
<a
|
<a data-sveltekit-preload-data="hover" class="ml-6 flex place-items-center gap-2 hover:cursor-pointer" href="/">
|
||||||
data-sveltekit-preload-data="hover"
|
|
||||||
class="ml-6 flex place-items-center gap-2 hover:cursor-pointer"
|
|
||||||
href="https://immich.app"
|
|
||||||
>
|
|
||||||
<ImmichLogo height="30" width="30" />
|
<ImmichLogo height="30" width="30" />
|
||||||
<h1 class="font-immich-title text-lg text-immich-primary dark:text-immich-dark-primary">IMMICH</h1>
|
<h1 class="font-immich-title text-lg text-immich-primary dark:text-immich-dark-primary">IMMICH</h1>
|
||||||
</a>
|
</a>
|
||||||
|
@ -38,11 +38,7 @@
|
|||||||
<header>
|
<header>
|
||||||
<ControlAppBar showBackButton={false}>
|
<ControlAppBar showBackButton={false}>
|
||||||
<svelte:fragment slot="leading">
|
<svelte:fragment slot="leading">
|
||||||
<a
|
<a data-sveltekit-preload-data="hover" class="ml-6 flex place-items-center gap-2 hover:cursor-pointer" href="/">
|
||||||
data-sveltekit-preload-data="hover"
|
|
||||||
class="ml-6 flex place-items-center gap-2 hover:cursor-pointer"
|
|
||||||
href="https://immich.app"
|
|
||||||
>
|
|
||||||
<ImmichLogo height={30} width={30} />
|
<ImmichLogo height={30} width={30} />
|
||||||
<h1 class="font-immich-title text-lg text-immich-primary dark:text-immich-dark-primary">IMMICH</h1>
|
<h1 class="font-immich-title text-lg text-immich-primary dark:text-immich-dark-primary">IMMICH</h1>
|
||||||
</a>
|
</a>
|
||||||
@ -72,7 +68,6 @@
|
|||||||
{#if !passwordRequired && sharedLink?.type == SharedLinkType.Album}
|
{#if !passwordRequired && sharedLink?.type == SharedLinkType.Album}
|
||||||
<AlbumViewer {sharedLink} />
|
<AlbumViewer {sharedLink} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if !passwordRequired && sharedLink?.type == SharedLinkType.Individual}
|
{#if !passwordRequired && sharedLink?.type == SharedLinkType.Individual}
|
||||||
<div class="immich-scrollbar">
|
<div class="immich-scrollbar">
|
||||||
<IndividualSharedViewer {sharedLink} {isOwned} />
|
<IndividualSharedViewer {sharedLink} {isOwned} />
|
||||||
|
Loading…
Reference in New Issue
Block a user