Skip to content

High performance self-hosted photo and video management solution.

Move 'Add' button on album user invite to the same row as 'To' List (#6447)

Alexander Welsing702e91145ad5
diff --git a/web/src/lib/components/album-page/user-selection-modal.svelte b/web/src/lib/components/album-page/user-selection-modal.svelte
index 33b5494fcc..b7c896fdf3 100644
--- a/web/src/lib/components/album-page/user-selection-modal.svelte
+++ b/web/src/lib/components/album-page/user-selection-modal.svelte
@@ -76,6 +76,9 @@
</button>
{/key}
{/each}
+ <div class="flex place-content-end mr-0 ml-auto p-5">
+ <Button size="sm" rounded="lg" on:click={() => dispatch('select', selectedUsers)}>Add</Button>
+ </div>
</div>
{/if}
@@ -113,12 +116,6 @@
Looks like you have shared this album with all users or you don't have any user to share with.
</p>
{/if}
-
- {#if selectedUsers.length > 0}
- <div class="flex place-content-end p-5">
- <Button size="sm" rounded="lg" on:click={() => dispatch('select', selectedUsers)}>Add</Button>
- </div>
- {/if}
</div>
<hr />