From 13eaad59db3b8fdac02db2460c7b90d0c7b17726 Mon Sep 17 00:00:00 2001
From: Jake/Rads <jake.fulminated@gmail.com>
Date: Thu, 23 Jun 2022 22:41:01 +0200
Subject: [PATCH] fix(dashboard): svelecte doesn't accept aria-label :(

---
 dashboard/src/lib/group/MemberEdit.svelte | 4 ++--
 dashboard/src/lib/member/GroupEdit.svelte | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dashboard/src/lib/group/MemberEdit.svelte b/dashboard/src/lib/group/MemberEdit.svelte
index 72f5d8ea..9024661b 100644
--- a/dashboard/src/lib/group/MemberEdit.svelte
+++ b/dashboard/src/lib/group/MemberEdit.svelte
@@ -122,7 +122,7 @@ function memberListRenderer(item: any) {
         <h5><div class="icon d-inline-block">
             <FaUserPlus />
         </div>Add Members</h5>
-        <Svelecte renderer="member-list" disableHighlight bind:value={membersToBeAdded} options={membersNotInGroupSelection} multiple aria-label="search for members to add"/>
+        <Svelecte renderer="member-list" disableHighlight bind:value={membersToBeAdded} options={membersNotInGroupSelection} multiple/>
         {#if !loading && membersToBeAdded && membersToBeAdded.length > 0}
         <Button class="w-100 mt-2" color="primary" on:click={submitAdd} aria-label="add members">Add</Button>{:else}
         <Button class="w-100 mt-2" color="primary" disabled aria-label="add members">{#if loading}<Spinner size="sm" />{:else}Add{/if}</Button>
@@ -131,7 +131,7 @@ function memberListRenderer(item: any) {
         <h5><div class="icon d-inline-block">
             <FaUserMinus />
         </div>Remove Members</h5>
-        <Svelecte renderer="member-list" disableHighlight bind:value={membersToBeRemoved} options={membersInGroupSelection} multiple aria-label="search for members to remove"/>
+        <Svelecte renderer="member-list" disableHighlight bind:value={membersToBeRemoved} options={membersInGroupSelection} multiple/>
         {#if !loading && membersToBeRemoved && membersToBeRemoved.length > 0}
         <Button class="w-100 mt-2" color="primary" on:click={submitRemove} aria-label="remove members">Remove</Button>{:else}
         <Button class="w-100 mt-2" color="primary" disabled aria-label="remove members">{#if loading}<Spinner size="sm" />{:else}Remove{/if}</Button>
diff --git a/dashboard/src/lib/member/GroupEdit.svelte b/dashboard/src/lib/member/GroupEdit.svelte
index 23a0d20a..94d1f0fd 100644
--- a/dashboard/src/lib/member/GroupEdit.svelte
+++ b/dashboard/src/lib/member/GroupEdit.svelte
@@ -123,7 +123,7 @@
         <h5><div class="icon d-inline-block">
             <FaFolderPlus />
         </div>Add to Groups</h5>
-        <Svelecte renderer="member-list" disableHighlight bind:value={groupsToBeAdded} options={groupsWithoutMemberSelection} multiple aria-label="search for groups to add"/>
+        <Svelecte renderer="member-list" disableHighlight bind:value={groupsToBeAdded} options={groupsWithoutMemberSelection} multiple />
         {#if !loading && groupsToBeAdded && groupsToBeAdded.length > 0}
         <Button class="w-100 mt-2" color="primary" on:click={submitAdd} aria-label="add groups to member">Add</Button>{:else}
         <Button class="w-100 mt-2" color="primary" disabled aria-label="add groups to member">{#if loading}<Spinner size="sm" />{:else}Add{/if}</Button>
@@ -132,7 +132,7 @@
         <h5><div class="icon d-inline-block">
             <FaFolderMinus />
         </div>Remove from Groups</h5>
-        <Svelecte renderer="member-list" disableHighlight bind:value={groupsToBeRemoved} options={groupsWithMemberSelection} multiple aria-label="search for groups to remove"/>
+        <Svelecte renderer="member-list" disableHighlight bind:value={groupsToBeRemoved} options={groupsWithMemberSelection} multiple />
         {#if !loading && groupsToBeRemoved && groupsToBeRemoved.length > 0}
         <Button class="w-100 mt-2" color="primary" on:click={submitRemove} aria-label="remove groups from member">Remove</Button>{:else}
         <Button class="w-100 mt-2" color="primary" disabled aria-label="remove groups from member">{#if loading}<Spinner size="sm" />{:else}Remove{/if}</Button>