From 829e7f9000b3655a4ee34d8c6b80f7fcd494f513 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Tue, 13 Feb 2024 10:12:46 -0800
Subject: fix(groups): add seperator for multiple groups

---
 src/routes/events/groups/+page.svelte | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'src/routes/events/groups/+page.svelte')

diff --git a/src/routes/events/groups/+page.svelte b/src/routes/events/groups/+page.svelte
index e81b8f4b..9c08b63c 100644
--- a/src/routes/events/groups/+page.svelte
+++ b/src/routes/events/groups/+page.svelte
@@ -21,12 +21,16 @@
 		{#await groups.json()}
 			<Message message="Parsing groups ..." />
 		{:then json}
-			{#each json as rawGroup}
+			{#each json as rawGroup, i}
 				{@const group = asGroup(rawGroup)}
 
 				<a href={root(`/events/group/${group.anilist_username}`)}>
 					<Group {group} />
 				</a>
+
+				{#if i < json.length - 1}
+					<p />
+				{/if}
 			{/each}
 		{:catch}
 			<Message message="" loader="ripple" slot withReload>Error parsing groups.</Message>
-- 
cgit v1.2.3

