Audit log table and modal

This commit is contained in:
Jamie Curnow
2025-09-14 14:00:00 +10:00
parent e44748e46f
commit 2b88f56d22
24 changed files with 425 additions and 12 deletions

View File

@@ -49,7 +49,11 @@ export function UserModal({ 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 || currentIsLoading) && <Loading noLogo />}
{!isLoading && !currentIsLoading && data && currentUser && (
<Formik