From 9f89384166b4b7b953a3c4aa5748d8f735859113 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Thu, 26 Dec 2024 11:11:25 +0100 Subject: Error handling --- includes/desktop/components/alert.php | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/desktop') diff --git a/includes/desktop/components/alert.php b/includes/desktop/components/alert.php index a47b99b..0077f18 100644 --- a/includes/desktop/components/alert.php +++ b/includes/desktop/components/alert.php @@ -4,6 +4,7 @@ function c_alert(string $html_message, string $type, ?string $icon = null): void "warning" => ["olive","yellow"], "success" => ["green","lime"], "info" => ["teal","aqua"], + "danger" => ["maroon","pink"], ][$type] ?? ["gray","white"]; if ($icon !== null) $icon = [ -- cgit v1.2.3