mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 17:23:16 +03:00
fix: z-index issues (#18275)
This commit is contained in:
@@ -240,25 +240,6 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
{#if toCreateLibrary}
|
||||
<LibraryUserPickerForm onSubmit={handleCreate} onCancel={() => (toCreateLibrary = false)} />
|
||||
{/if}
|
||||
|
||||
{#if toAddImportPath}
|
||||
<LibraryImportPathForm
|
||||
title={$t('add_import_path')}
|
||||
submitText={$t('add')}
|
||||
bind:importPath={importPathToAdd}
|
||||
onSubmit={handleAddImportPath}
|
||||
onCancel={() => {
|
||||
toAddImportPath = false;
|
||||
if (updateLibraryIndex) {
|
||||
onEditImportPathClicked(updateLibraryIndex);
|
||||
}
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
<UserPageLayout title={data.meta.title} admin>
|
||||
{#snippet buttons()}
|
||||
<div class="flex justify-end gap-2">
|
||||
@@ -391,3 +372,22 @@
|
||||
onCancel={() => (renameLibrary = undefined)}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
{#if toCreateLibrary}
|
||||
<LibraryUserPickerForm onSubmit={handleCreate} onCancel={() => (toCreateLibrary = false)} />
|
||||
{/if}
|
||||
|
||||
{#if toAddImportPath}
|
||||
<LibraryImportPathForm
|
||||
title={$t('add_import_path')}
|
||||
submitText={$t('add')}
|
||||
bind:importPath={importPathToAdd}
|
||||
onSubmit={handleAddImportPath}
|
||||
onCancel={() => {
|
||||
toAddImportPath = false;
|
||||
if (updateLibraryIndex) {
|
||||
onEditImportPathClicked(updateLibraryIndex);
|
||||
}
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user