mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 19:43:58 +00:00
connection tab
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
const values = writable(
|
||||
connection || {
|
||||
server: getCurrentConfig().isDocker ? 'dockerhost' : 'localhost',
|
||||
engine: 'mssql@dbgate-plugin-mssql',
|
||||
engine: '',
|
||||
}
|
||||
);
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
'defaultDatabase',
|
||||
'singleDatabase',
|
||||
];
|
||||
const visibleProps = allProps.filter(x => !driver?.showConnectionField || driver.showConnectionField(x, $values));
|
||||
const visibleProps = allProps.filter(x => driver?.showConnectionField(x, $values));
|
||||
const omitProps = _.difference(allProps, visibleProps);
|
||||
if (!$values.defaultDatabase) omitProps.push('singleDatabase');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user