editable connection

This commit is contained in:
Jan Prochazka 2024-07-08 15:02:46 +02:00
parent 14db7b1a98
commit 2199a49126
2 changed files with 11 additions and 6 deletions

View File

@ -1119,6 +1119,8 @@
column,
value: rowData && rowData[column],
engine: display?.driver,
condition: display?.getChangeSetCondition(rowData),
insertedRowIndex: grider?.getInsertedRowIndex(row),
};
})
.filter(x => x.column);

View File

@ -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);