diff --git a/desktop/plugins/public/databases/DatabasesPlugin.tsx b/desktop/plugins/public/databases/DatabasesPlugin.tsx
index fa4747499..b75b582c2 100644
--- a/desktop/plugins/public/databases/DatabasesPlugin.tsx
+++ b/desktop/plugins/public/databases/DatabasesPlugin.tsx
@@ -278,7 +278,7 @@ const QueryTable = React.memo(
const columns = table.columns;
const rows = table.rows;
return (
-
+
)}
-
+
);
} else if (query.id && query.id !== null) {
return (
@@ -744,40 +744,38 @@ export function Component() {
) : null}
-
-
- {state.viewMode === 'data' ? (
-
- ) : null}
- {state.viewMode === 'structure' && state.currentStructure ? (
-
- ) : null}
- {state.viewMode === 'SQL' ? (
-
- ) : null}
- {state.viewMode === 'tableInfo' ? (
-
-
-
- ) : null}
- {state.viewMode === 'queryHistory' ? (
-
- ) : null}
-
-
+
+ {state.viewMode === 'data' ? (
+
+ ) : null}
+ {state.viewMode === 'structure' && state.currentStructure ? (
+
+ ) : null}
+ {state.viewMode === 'SQL' ? (
+
+ ) : null}
+ {state.viewMode === 'tableInfo' ? (
+
+
+
+ ) : null}
+ {state.viewMode === 'queryHistory' ? (
+
+ ) : null}
+
{state.viewMode === 'SQL' && state.executionTime !== 0 ? (