Fix root group name check (#12660)

This commit is contained in:
Charles Gagnon
2020-09-29 10:03:55 -07:00
committed by GitHub
parent 2376e7b384
commit 253aa78650

View File

@@ -37,7 +37,7 @@ export class ConnectionProfileGroup extends Disposable implements IConnectionPro
) {
super();
this.parentId = parent ? parent.id : undefined;
if (this.name === ConnectionProfileGroup.RootGroupName) {
if (ConnectionProfileGroup.isRoot(this.name)) {
this.name = '';
this.isRoot = true;
}