mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(core-connections): CB-511 empty credentials for new connection
This commit is contained in:
+3
-3
@@ -39,11 +39,11 @@ implements IInitializableController {
|
||||
return this.dbAuthModelsResource.isLoading();
|
||||
}
|
||||
|
||||
@computed get properties(): ObjectPropertyInfo[] {
|
||||
if (this.model.connection.authProperties) {
|
||||
@computed get properties(): ObjectPropertyInfo[] | undefined {
|
||||
if (this.model.connection.authProperties.length) {
|
||||
return this.model.connection.authProperties;
|
||||
}
|
||||
return this.authModel?.properties || [];
|
||||
return this.authModel?.properties;
|
||||
}
|
||||
|
||||
private model!: IConnectionFormModel;
|
||||
|
||||
Reference in New Issue
Block a user