Skip to content

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

chore: improve editor button style (#13138)

Tianzhou (天舟)95f0b909f73a
diff --git a/frontend/src/views/sql-editor/EditorCommon/AdminModeButton.vue b/frontend/src/views/sql-editor/EditorCommon/AdminModeButton.vue
index e6a304903f..97354d2a4e 100644
--- a/frontend/src/views/sql-editor/EditorCommon/AdminModeButton.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/AdminModeButton.vue
@@ -3,6 +3,7 @@
v-if="showButton"
:size="props.size"
type="warning"
+ :dashed="true"
:disabled="isDisconnected"
@click="enterAdminMode"
>
diff --git a/frontend/src/views/sql-editor/EditorCommon/EditorAction.vue b/frontend/src/views/sql-editor/EditorCommon/EditorAction.vue
index edba840eb6..61047d6125 100644
--- a/frontend/src/views/sql-editor/EditorCommon/EditorAction.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/EditorAction.vue
@@ -58,9 +58,7 @@
<template v-if="showSheetsFeature">
<NButton
- secondary
- strong
- type="primary"
+ :strong="allowSave"
size="small"
:disabled="!allowSave"
@click="handleClickSave"
@@ -80,6 +78,7 @@
>
<template #trigger>
<NButton
+ :strong="allowShare"
size="small"
:disabled="!allowShare"
@click="handleShareButtonClick"