mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
fix: people edit ui (#18320)
This commit is contained in:
parent
86d64f3483
commit
a9e7d0388b
1 changed files with 14 additions and 14 deletions
|
|
@ -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…
Reference in a new issue