mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 12:15:47 -04:00
fix: people edit ui (#18320)
This commit is contained in:
parent
86d64f3483
commit
a9e7d0388b
@ -361,7 +361,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<main
|
<main
|
||||||
class="relative h-dvh overflow-hidden tall:ms-4 md:pt-[var(--navbar-height-md)] pt-[var(--navbar-height)]"
|
class="relative z-0 h-dvh overflow-hidden tall:ms-4 md:pt-[var(--navbar-height-md)] pt-[var(--navbar-height)]"
|
||||||
use:scrollMemoryClearer={{
|
use:scrollMemoryClearer={{
|
||||||
routeStartsWith: AppRoute.PEOPLE,
|
routeStartsWith: AppRoute.PEOPLE,
|
||||||
beforeClear: () => {
|
beforeClear: () => {
|
||||||
@ -486,19 +486,6 @@
|
|||||||
{/key}
|
{/key}
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
{#if viewMode === PersonPageViewMode.UNASSIGN_ASSETS}
|
|
||||||
<UnMergeFaceSelector
|
|
||||||
assetIds={assetInteraction.selectedAssets.map((a) => a.id)}
|
|
||||||
personAssets={person}
|
|
||||||
onClose={() => (viewMode = PersonPageViewMode.VIEW_ASSETS)}
|
|
||||||
onConfirm={handleUnmerge}
|
|
||||||
/>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
{#if viewMode === PersonPageViewMode.MERGE_PEOPLE}
|
|
||||||
<MergeFaceSelector {person} onBack={handleGoBack} onMerge={handleMerge} />
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
{#if assetInteraction.selectionActive}
|
{#if assetInteraction.selectionActive}
|
||||||
<AssetSelectControlBar
|
<AssetSelectControlBar
|
||||||
@ -579,3 +566,16 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
{#if viewMode === PersonPageViewMode.UNASSIGN_ASSETS}
|
||||||
|
<UnMergeFaceSelector
|
||||||
|
assetIds={assetInteraction.selectedAssets.map((a) => a.id)}
|
||||||
|
personAssets={person}
|
||||||
|
onClose={() => (viewMode = PersonPageViewMode.VIEW_ASSETS)}
|
||||||
|
onConfirm={handleUnmerge}
|
||||||
|
/>
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
{#if viewMode === PersonPageViewMode.MERGE_PEOPLE}
|
||||||
|
<MergeFaceSelector {person} onBack={handleGoBack} onMerge={handleMerge} />
|
||||||
|
{/if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user