From 8566fe4ac1abf9b6e4fd0de8c8dd58b2c417e846 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 4 Feb 2021 14:19:18 +0100 Subject: [PATCH] :sparkles: Show close icon on messages by default. --- frontend/src/app/main/ui/messages.cljs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/app/main/ui/messages.cljs b/frontend/src/app/main/ui/messages.cljs index fc6f092bd..298dbc7c8 100644 --- a/frontend/src/app/main/ui/messages.cljs +++ b/frontend/src/app/main/ui/messages.cljs @@ -58,9 +58,7 @@ :position (or (:position message) :fixed) :controls (if (some? (:controls message)) (:controls message) - (if (some? (:timeout message)) - :none - :close)) + :close) :on-close on-close)]))) (mf/defc inline-banner