diff --git a/apps/desktop/src/components/layout/AppTabBar.vue b/apps/desktop/src/components/layout/AppTabBar.vue index e39d273da4..8f97644d83 100644 --- a/apps/desktop/src/components/layout/AppTabBar.vue +++ b/apps/desktop/src/components/layout/AppTabBar.vue @@ -185,7 +185,7 @@ function tabColorStyle(tab: QueryTab) { } function tabIconClass(tab: QueryTab) { - if (tab.mode === "data" || tab.mode === "objects" || tab.mode === "structure") return "text-emerald-600 dark:text-emerald-400"; + if (tab.mode === "data" || tab.mode === "mongo" || tab.mode === "redis" || tab.mode === "objects" || tab.mode === "structure") return "text-emerald-600 dark:text-emerald-400"; return "text-blue-600 dark:text-blue-400"; } @@ -202,7 +202,7 @@ const openTabMenuItems = computed(() => ); function tabMenuIcon(tab: QueryTab) { - if (tab.mode === "data") return Table2; + if (tab.mode === "data" || tab.mode === "mongo" || tab.mode === "redis") return Table2; if (tab.mode === "etcd") return KeyRound; if (tab.mode === "objects") return TableProperties; if (tab.mode === "structure") return PencilRuler; @@ -294,7 +294,7 @@ function activateTab(tabId: string) { @mouseleave="tabDrag.clearTarget(tab.id)" > - +