Some portal cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user