Label of DB update when remaking profile (#6561)

This commit is contained in:
Amir Omidi
2019-08-02 10:00:58 -07:00
committed by GitHub
parent c4ab7f64e6
commit 5994269ca8

View File

@@ -612,6 +612,7 @@ export class ConnectionManagementService extends Disposable implements IConnecti
this._editorService.editors.map(editor => {
if (editor instanceof DashboardInput) {
if (DashboardInput.profileMatches(profile, editor.connectionProfile)) {
editor.connectionProfile.connectionName = profile.connectionName;
editor.connectionProfile.databaseName = profile.databaseName;
this._editorService.openEditor(editor)
.then(() => {