mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-23 09:35:39 -05:00
Respect 'showDashboard' disabled by default (#22907)
This commit is contained in:
@@ -265,7 +265,7 @@ export class ConnectionDialogService implements IConnectionDialogService {
|
||||
let options: IConnectionCompletionOptions = this._options || {
|
||||
params: params,
|
||||
saveTheConnection: !isTemporaryConnection,
|
||||
showDashboard: params && params.showDashboard !== undefined ? params.showDashboard : !fromEditor && !isTemporaryConnection,
|
||||
showDashboard: params?.showDashboard ?? false,
|
||||
showConnectionDialogOnError: false,
|
||||
showFirewallRuleOnError: true
|
||||
};
|
||||
|
||||
@@ -492,7 +492,6 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
saveTheConnection: saveConnection,
|
||||
showConnectionDialogOnError: true,
|
||||
showDashboard: purpose === 'dashboard',
|
||||
params: undefined,
|
||||
showFirewallRuleOnError: true,
|
||||
};
|
||||
return this.connect(connection, ownerUri, options).then(connectionResult => {
|
||||
@@ -524,7 +523,6 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
options = {
|
||||
saveTheConnection: true,
|
||||
showDashboard: false,
|
||||
params: undefined,
|
||||
showConnectionDialogOnError: false,
|
||||
showFirewallRuleOnError: true
|
||||
};
|
||||
@@ -574,7 +572,6 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
options = {
|
||||
saveTheConnection: false,
|
||||
showDashboard: false,
|
||||
params: undefined,
|
||||
showConnectionDialogOnError: false,
|
||||
showFirewallRuleOnError: true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user