Audit log table and modal

This commit is contained in:
Jamie Curnow
2025-09-14 14:00:00 +10:00
parent 8ad95c5695
commit 429046f32e
24 changed files with 425 additions and 12 deletions

View File

@@ -83,7 +83,11 @@ export function PermissionsModal({ userId, onClose }: Props) {
return (
<Modal show onHide={onClose} animation={false}>
{!isLoading && error && <Alert variant="danger">{error?.message || "Unknown error"}</Alert>}
{!isLoading && error && (
<Alert variant="danger" className="m-3">
{error?.message || "Unknown error"}
</Alert>
)}
{isLoading && <Loading noLogo />}
{!isLoading && data && (
<Formik