Skip to content

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

chore: layout and text (#7715)

Liu Ji13804e504d54
diff --git a/frontend/src/views/sql-editor/AsidePanel/TreeNode/InstancePrefix.vue b/frontend/src/views/sql-editor/AsidePanel/TreeNode/InstancePrefix.vue
index 4eebc55243..60b07db063 100644
--- a/frontend/src/views/sql-editor/AsidePanel/TreeNode/InstancePrefix.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/TreeNode/InstancePrefix.vue
@@ -1,25 +1,12 @@
<template>
<InstanceV1EngineIcon :instance="instance" />
- <span class="text-sm -mr-0.5" :class="[!disabled && 'text-gray-500']">
- (
- </span>
- <ProductionEnvironmentV1Icon
- :environment="environment"
- class="w-4 h-4 text-inherit"
- />
- <span class="text-sm" :class="[!disabled && 'text-gray-500']">
+ <span class="text-sm" :class="[!disabled && 'text-control-light']">
{{ environment.title }}
</span>
- <span class="text-sm -ml-0.5" :class="[!disabled && 'text-gray-500']">
- )
- </span>
</template>
<script setup lang="ts">
-import {
- InstanceV1EngineIcon,
- ProductionEnvironmentV1Icon,
-} from "@/components/v2";
+import { InstanceV1EngineIcon } from "@/components/v2";
import { ComposedInstance } from "@/types";
import { Environment } from "@/types/proto/v1/environment_service";