mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-19 16:16:45 +00:00
统一表属性面板中编辑表结构图标为 PencilRuler (#3574)
This commit is contained in:
@@ -68,7 +68,7 @@ import {
|
||||
TableProperties,
|
||||
Database,
|
||||
Columns3,
|
||||
Columns3Cog,
|
||||
PencilRuler,
|
||||
Timer,
|
||||
} from "@lucide/vue";
|
||||
import { Button } from "@/components/ui/button";
|
||||
@@ -10657,7 +10657,7 @@ const gridContextMenuItems = computed<ContextMenuItem[]>(() => {
|
||||
</Button>
|
||||
</div>
|
||||
<Button v-if="canOpenTableStructureEditor" variant="ghost" size="sm" class="table-info-action-button h-6 px-2 text-xs" :title="t('contextMenu.editStructure')" :aria-label="t('contextMenu.editStructure')" @click="openTableStructureEditor">
|
||||
<Columns3Cog class="w-3 h-3" />
|
||||
<PencilRuler class="w-3 h-3" />
|
||||
<span class="table-info-action-label">{{ t("contextMenu.editStructure") }}</span>
|
||||
</Button>
|
||||
<Button variant="ghost" size="icon" class="h-5 w-5" @click="showTableInfo = false">
|
||||
|
||||
@@ -14,7 +14,6 @@ import {
|
||||
CopyPlus,
|
||||
ChevronDown,
|
||||
ChevronRight,
|
||||
Columns3Cog,
|
||||
Download,
|
||||
Eraser,
|
||||
Eye,
|
||||
@@ -2684,7 +2683,7 @@ function getObjectBrowserMenuItems(item: ObjectBrowserRow): ContextMenuItem[] {
|
||||
</Button>
|
||||
</div>
|
||||
<Button v-if="canOpenTableStructureEditor" variant="ghost" size="sm" class="table-info-action-button h-6 px-2 text-xs" :title="t('contextMenu.editStructure')" :aria-label="t('contextMenu.editStructure')" @click="openTableStructureEditor">
|
||||
<Columns3Cog class="w-3 h-3" />
|
||||
<PencilRuler class="w-3 h-3" />
|
||||
<span class="table-info-action-label">{{ t("contextMenu.editStructure") }}</span>
|
||||
</Button>
|
||||
<Button variant="ghost" size="icon" class="h-5 w-5" @click="closeSidePanel">
|
||||
|
||||
Reference in New Issue
Block a user