mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
editable connection
This commit is contained in:
parent
14db7b1a98
commit
2199a49126
@ -1119,6 +1119,8 @@
|
||||
column,
|
||||
value: rowData && rowData[column],
|
||||
engine: display?.driver,
|
||||
condition: display?.getChangeSetCondition(rowData),
|
||||
insertedRowIndex: grider?.getInsertedRowIndex(row),
|
||||
};
|
||||
})
|
||||
.filter(x => x.column);
|
||||
|
@ -36,16 +36,19 @@
|
||||
export let connection;
|
||||
export let tabid;
|
||||
export let conid;
|
||||
export let connectionStore = undefined;
|
||||
|
||||
let isTesting;
|
||||
let sqlConnectResult;
|
||||
|
||||
const values = writable(
|
||||
connection || {
|
||||
server: getCurrentConfig().isDocker ? 'dockerhost' : 'localhost',
|
||||
engine: '',
|
||||
}
|
||||
);
|
||||
const values =
|
||||
connectionStore ||
|
||||
writable(
|
||||
connection || {
|
||||
server: getCurrentConfig().isDocker ? 'dockerhost' : 'localhost',
|
||||
engine: '',
|
||||
}
|
||||
);
|
||||
|
||||
// $: console.log('ConnectionTab.$values', $values);
|
||||
// $: console.log('ConnectionTab.driver', driver);
|
||||
|
Loading…
Reference in New Issue
Block a user