Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions web/src/lib/components/album-page/user-selection-modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down Expand Up @@ -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 />
Expand Down
Loading