From e6da70de6c7eeadbc504241731e6eda5a6d5b9d4 Mon Sep 17 00:00:00 2001 From: repository <41586666+repository@users.noreply.github.com> Date: Mon, 20 Mar 2023 19:24:48 -0700 Subject: [PATCH] fix(dashboard): fix parsing error when group display name not present (#537) --- dashboard/src/components/member/GroupEdit.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dashboard/src/components/member/GroupEdit.svelte b/dashboard/src/components/member/GroupEdit.svelte index 19c77c31..53392b3a 100644 --- a/dashboard/src/components/member/GroupEdit.svelte +++ b/dashboard/src/components/member/GroupEdit.svelte @@ -5,6 +5,8 @@ import Svelecte, { addFormatter } from 'svelecte'; import AwaitHtml from '../common/AwaitHtml.svelte'; import parseMarkdown from '../../api/parse-markdown'; + import AwaitHtml from '../common/AwaitHtml.svelte'; + import parseMarkdown from '../../api/parse-markdown'; import FaFolderOpen from 'svelte-icons/fa/FaFolderOpen.svelte' import FaFolderPlus from 'svelte-icons/fa/FaFolderPlus.svelte' @@ -116,7 +118,7 @@ {#if finalGroupsList && finalGroupsList.length > 0} {#each finalGroupsList as group, index (group.id)} - {group.name} ({group.id}) + {group.name} ({group.id}) {/each} {:else}