feat: paginate member list, add create member button
This commit is contained in:
parent
9bfabcc1f1
commit
3678f5a3e8
6 changed files with 120 additions and 34 deletions
|
@ -27,6 +27,7 @@
|
|||
import EditableField from "../EditableField.svelte";
|
||||
import EditableName from "../EditableName.svelte";
|
||||
import EditablePronouns from "../EditablePronouns.svelte";
|
||||
import ErrorAlert from "$lib/components/ErrorAlert.svelte";
|
||||
|
||||
const MAX_AVATAR_BYTES = 1_000_000;
|
||||
|
||||
|
@ -250,13 +251,7 @@
|
|||
</h1>
|
||||
|
||||
{#if error}
|
||||
<Alert color="danger" fade={false}>
|
||||
<h4 class="alert-header">An error occurred</h4>
|
||||
<p>
|
||||
<b>{error.code}</b>: {error.message}
|
||||
{#if error.details}{error.details}{/if}
|
||||
</p>
|
||||
</Alert>
|
||||
<ErrorAlert {error} />
|
||||
{/if}
|
||||
|
||||
{#if !$userStore}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue