mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 00:16:00 +00:00
switch database command
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user