From 85a68ea3b20150850c175b5a851de0ad3c6d5b1b Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 25 Aug 2026 13:41:22 +0000 Subject: [PATCH] :bug: Normalize toast HTML prop to boolean Ensure toast components always receive a boolean `is-html` prop so nil or truthy notification values do not violate the Rumext schema. AI-assisted-by: gpt-5.6-luna --- frontend/src/app/main/ui/notifications.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/notifications.cljs b/frontend/src/app/main/ui/notifications.cljs index a7cead63cc..7a05787464 100644 --- a/frontend/src/app/main/ui/notifications.cljs +++ b/frontend/src/app/main/ui/notifications.cljs @@ -35,7 +35,7 @@ [:> toast* {:level (or (:level notification) :info) :type (:type notification) - :is-html (:is-html notification) + :is-html (boolean (:is-html notification)) :detail (:detail notification) :on-close on-close} content] @@ -58,6 +58,6 @@ [:> toast* {:level (or (:level notification) :info) :type (:type notification) - :is-html (:is-html notification) + :is-html (boolean (:is-html notification)) :detail (:detail notification) :on-close on-close} content]))))