switch database command

This commit is contained in:
Jan Prochazka
2024-06-03 09:50:08 +02:00
parent e2526082b8
commit 864c5bb208
6 changed files with 93 additions and 8 deletions

View File

@@ -51,6 +51,8 @@
getCurrentEditor() != null && !getCurrentEditor()?.isBusy() && getCurrentEditor()?.hasConnection(),
onClick: () => getCurrentEditor().executeCurrent(),
});
export const allowSwitchDatabase = props => true;
</script>
<script lang="ts">
@@ -336,6 +338,15 @@
const quickExportHandlerRef = createQuickExportHandlerRef();
$: {
conid;
database;
if (canKill()) {
kill();
}
errorMessages = [];
}
let isInitialized = false;
</script>