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
15
frontend/src/lib/components/ErrorAlert.svelte
Normal file
15
frontend/src/lib/components/ErrorAlert.svelte
Normal file
|
@ -0,0 +1,15 @@
|
|||
<script lang="ts">
|
||||
import type { APIError } from "$lib/api/entities";
|
||||
import { Alert } from "sveltestrap";
|
||||
|
||||
export let error: APIError;
|
||||
</script>
|
||||
|
||||
<Alert color="danger" fade={false}>
|
||||
<h4 class="alert-heading">An error occurred</h4>
|
||||
<b>{error.code}:</b>
|
||||
{error.message}
|
||||
{#if error.details}
|
||||
({error.details})
|
||||
{/if}
|
||||
</Alert>
|
Loading…
Add table
Add a link
Reference in a new issue