Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove the connected icon (#7686)

ecmadaof3267f219f15
diff --git a/frontend/src/views/sql-editor/AsidePanel/DatabaseTree.vue b/frontend/src/views/sql-editor/AsidePanel/DatabaseTree.vue
index 5b4c7bb082..2951462712 100644
--- a/frontend/src/views/sql-editor/AsidePanel/DatabaseTree.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/DatabaseTree.vue
@@ -29,7 +29,6 @@
:expanded-keys="expandedTreeNodeKeysForCurrentTreeMode"
:render-label="renderLabel"
:render-prefix="renderPrefix"
- :render-suffix="renderSuffix"
:node-props="nodeProps"
:virtual-scroll="true"
@update:expanded-keys="updateExpandedKeys"
@@ -85,7 +84,7 @@ import {
isSimilarTab,
instanceV1AllowsCrossDatabaseQuery,
} from "@/utils";
-import { Prefix, Label, Suffix } from "./TreeNode";
+import { Prefix, Label } from "./TreeNode";
type Position = {
x: number;
@@ -267,13 +266,6 @@ const renderPrefix = ({ option }: { option: TreeOption }) => {
return h(Prefix, { atom });
};
-// Render a 'connected' icon in the right of the node
-// if it matches the current tab's connection
-const renderSuffix = ({ option }: { option: TreeOption }) => {
- const atom = option as any as ConnectionAtom;
- return h(Suffix, { atom });
-};
-
const handleSelect = (key: string) => {
const option = dropdownOptions.value.find((item) => item.key === key);
if (!option) {