Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 committed Oct 28, 2024
1 parent cf337a3 commit be17ad1
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/lib/components/group/CreateGroup.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@
</button>
{/each}
{:else}
<Text hook="text-no-users" appearance={Appearance.Muted} size={Size.Small}>
{$_("chat.group.noMembersAvailable")}
</Text>
<Text hook="text-no-users" appearance={Appearance.Muted} size={Size.Small}>
{$_("chat.group.noMembersAvailable")}
</Text>
{/if}
</div>

Expand All @@ -136,7 +136,13 @@
{/if}

<Controls>
<Button hook="button-create-group" text={$_("chat.group.create")} fill disabled={nameError} on:click={onCreate}>
<Button
hook="button-create-group"
text={$_("chat.group.create")}
fill
disabled={nameError || recipients.length === 0 || $friends.length === 0}
on:click={onCreate}
>
<Icon icon={Shape.ChatPlus} />
</Button>
</Controls>
Expand Down

0 comments on commit be17ad1

Please sign in to comment.