mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix to connectionDialogService recent connections (#24018)
This commit is contained in:
@@ -257,8 +257,7 @@ export class ConnectionDialogService implements IConnectionDialogService {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let fromEditor = params && params.connectionType === ConnectionType.editor;
|
let fromEditor = params && params.connectionType === ConnectionType.editor;
|
||||||
let hasSaveProfile = connection && connection.hasOwnProperty('saveProfile');
|
let isTemporaryConnection = (params && params.connectionType === ConnectionType.temporary);
|
||||||
let isTemporaryConnection = (params && params.connectionType === ConnectionType.temporary) || (hasSaveProfile && !connection.saveProfile);
|
|
||||||
let uri: string = undefined;
|
let uri: string = undefined;
|
||||||
if (fromEditor && params && params.input) {
|
if (fromEditor && params && params.input) {
|
||||||
uri = params.input.uri;
|
uri = params.input.uri;
|
||||||
|
|||||||
Reference in New Issue
Block a user