feat: paginate member list, add create member button

This commit is contained in:
Sam 2023-03-14 16:43:31 +01:00
parent 9bfabcc1f1
commit 3678f5a3e8
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
6 changed files with 120 additions and 34 deletions

View 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>