Fix Edit Connection behavior that affects multiple areas working with edited connection (#20907)

This commit is contained in:
Cheena Malhotra
2022-10-21 11:03:10 -07:00
committed by GitHub
parent 5398339af9
commit 0abb8da026
5 changed files with 3 additions and 14 deletions

View File

@@ -93,8 +93,6 @@ export class ConnectionConfig {
});
if (sameProfileInList) {
let profileIndex = profiles.findIndex(value => value === sameProfileInList);
newProfile.id = sameProfileInList.id;
connectionProfile.id = sameProfileInList.id;
profiles[profileIndex] = newProfile;
} else {
profiles.push(newProfile);