mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 17:22:51 -05:00
12567 Fixed Notebooks not adding to recent connections (#13113)
* 12567 Changed tryAddActiveConnection to always add recent connection * 12567 Reverted change to tryAddActiveConnection. Removed this._params.input from connectionDialogService > createModel * 12567 Simplified conditional in connectionDialogService
This commit is contained in:
@@ -381,7 +381,7 @@ export class ConnectionDialogService implements IConnectionDialogService {
|
||||
newProfile.saveProfile = true;
|
||||
newProfile.generateNewId();
|
||||
// If connecting from a query editor set "save connection" to false
|
||||
if (this._params && this._params.input && this._params.connectionType === ConnectionType.editor) {
|
||||
if (this._params?.connectionType === ConnectionType.editor) {
|
||||
newProfile.saveProfile = false;
|
||||
}
|
||||
return newProfile;
|
||||
|
||||
Reference in New Issue
Block a user