From e229affae4e8f9234a98006c6b53fd69b8a80ebf Mon Sep 17 00:00:00 2001 From: SharglutDev Date: Tue, 14 Jan 2025 14:26:07 +0100 Subject: [PATCH] ui-core: fix input status info close button In tooltip status, a close button is present to close the tooltip but it shouldn't be there if the status isn't a tooltip. Signed-off-by: SharglutDev --- ui-core/src/components/inputs/StatusMessage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-core/src/components/inputs/StatusMessage.tsx b/ui-core/src/components/inputs/StatusMessage.tsx index 79871bc8..e11c1868 100644 --- a/ui-core/src/components/inputs/StatusMessage.tsx +++ b/ui-core/src/components/inputs/StatusMessage.tsx @@ -37,7 +37,7 @@ const StatusMessage = ({ statusWithMessage, showIcon, small, onClose }: StatusMe > {showIcon && } {message} - {status === 'info' && ( + {status === 'info' && tooltip && (