mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 15:16:01 +00:00
fix
This commit is contained in:
@@ -196,6 +196,7 @@
|
||||
width: 20vw;
|
||||
margin-left: var(--dim-large-form-margin);
|
||||
margin-bottom: var(--dim-large-form-margin);
|
||||
border: 1px solid var(--theme-border);
|
||||
}
|
||||
|
||||
.label {
|
||||
|
||||
@@ -34,6 +34,8 @@
|
||||
import ToolStripContainer from '../buttons/ToolStripContainer.svelte';
|
||||
import ToolStripButton from '../buttons/ToolStripButton.svelte';
|
||||
import FormProviderCore from '../forms/FormProviderCore.svelte';
|
||||
import { changeTab } from '../utility/common';
|
||||
import _ from 'lodash';
|
||||
|
||||
let busy = false;
|
||||
let executeNumber = 0;
|
||||
@@ -42,7 +44,6 @@
|
||||
const previewReaderStore = writable(null);
|
||||
|
||||
export let tabid;
|
||||
export let initialValues;
|
||||
export let uploadedFile = undefined;
|
||||
export let openedFile = undefined;
|
||||
export let importToCurrentTarget = false;
|
||||
@@ -80,6 +81,11 @@
|
||||
if (openedFile) {
|
||||
domConfigurator.addUploadedFile(openedFile);
|
||||
}
|
||||
|
||||
changeTab(tabid, tab => ({
|
||||
...tab,
|
||||
props: _.omit(tab.props, ['uploadedFile', 'openedFile', 'importToCurrentTarget']),
|
||||
}));
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user