Some portal cleanup

This commit is contained in:
Dominic Ferrando
2026-07-17 10:15:03 -04:00
parent ed17f4baf8
commit 903a60fec5
2 changed files with 9 additions and 3 deletions
@@ -17,6 +17,8 @@
fulfilled: "badge-success",
};
const groups = (await api.events.groups.get()).data ?? [];
let events = $state<EventRow[]>([]);
let loading = $state(true);
let loadError = $state<string | null>(null);
@@ -122,8 +124,9 @@
onchange={(e) => setGroup(e.currentTarget.value)}
>
<option value="">All groups</option>
<option value="apparel_sync">Sync</option>
<option value="apparel_order">Orders</option>
{#each groups as group}
<option value={group}>{formatLabel(group)}</option>
{/each}
</select>
<select