feat(sidebar): add connection copy paste shortcuts

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-07-04 12:19:56 +08:00
1 parent d8047a77b4
commit 90d2ede740
19 files changed
+509 -20

No files matched your search

@@ -1019,7 +1019,7 @@ function copySingleTableToClipboard(row: ObjectBrowserRow) {
function openPasteTableDialog() {
const clipboard = connectionStore.treeClipboard;
if (!canPasteTableClipboard() || !clipboard) {
if (!canPasteTableClipboard() || clipboard?.kind !== "table-copy") {
toast(t("contextMenu.noTableToPaste"), 2000);
return;
}