From 91c7cb20ea799a72eec6e87a55968f423d9358d8 Mon Sep 17 00:00:00 2001 From: Alaister Young Date: Thu, 20 Apr 2023 14:52:44 +1000 Subject: [PATCH] changes showing logic --- .../interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx b/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx index 2b8d764b132..76cf60caba5 100644 --- a/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx +++ b/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx @@ -24,7 +24,9 @@ const UtilityTabResults = ({ id, isExecuting }: UtilityTabResultsProps) => { return (

{result.error.message ?? result.error}

- {result.error.message?.includes('canceling statement due to statement timeout') && ( + {(result.error.message ?? result.error)?.includes( + 'canceling statement due to statement timeout' + ) && (

You can either{' '}