diff --git a/src/components/features/GroupView.svelte b/src/components/features/GroupView.svelte index 3b6c698..b2142dc 100644 --- a/src/components/features/GroupView.svelte +++ b/src/components/features/GroupView.svelte @@ -1,6 +1,8 @@ -
- Group Name: -
{group.settings.name}
-
+ + {group.settings.name} + {#if sortedTagsList.length} -
- Tags: + -
- {#each sortedTagsList as tagName} - {tagName} - {/each} -
+
-
+ {/if} {#if sortedPrefixes.length} -
- Prefixes: + -
- {#each sortedPrefixes as prefixName} - {prefixName}* - {/each} -
+
-
+ {/if} {#if sortedSuffixes.length} -
- Suffixes: + -
- {#each sortedSuffixes as suffixName} - *{suffixName} - {/each} -
+
-
+ {/if} - - diff --git a/src/components/features/ProfileView.svelte b/src/components/features/ProfileView.svelte index ed97361..715f0eb 100644 --- a/src/components/features/ProfileView.svelte +++ b/src/components/features/ProfileView.svelte @@ -1,5 +1,7 @@ -
- Profile: -
{profile.settings.name}
-
-
- Tags: -
- {#each sortedTagsList as tagName} - {tagName} - {/each} -
-
- - + + {profile.settings.name} + + + + diff --git a/src/components/tags/TagsList.svelte b/src/components/tags/TagsList.svelte index 8fb00b4..5ee590b 100644 --- a/src/components/tags/TagsList.svelte +++ b/src/components/tags/TagsList.svelte @@ -1,14 +1,16 @@
{#each tags as tagName} -
{tagName}
+
{prepend || ''}{tagName}{append || ''}
{/each}