mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-11 02:32:35 -05:00
fix find parent node issue (#22356)
* fix find parent node issue * sts update * fix errors * pr comments and a fix
This commit is contained in:
@@ -34,6 +34,7 @@ export class CmsResourceEmptyTreeNode extends TreeNode {
|
||||
errorMessage: undefined,
|
||||
metadata: undefined,
|
||||
nodePath: this.generateNodePath(),
|
||||
parentNodePath: this.parent?.generateNodePath() ?? '',
|
||||
nodeStatus: undefined,
|
||||
nodeType: CmsResourceItemType.cmsEmptyNodeContainer,
|
||||
iconType: CmsResourceItemType.cmsEmptyNodeContainer,
|
||||
|
||||
@@ -108,6 +108,7 @@ export class CmsResourceTreeNode extends CmsResourceTreeNodeBase {
|
||||
errorMessage: undefined,
|
||||
metadata: undefined,
|
||||
nodePath: this.generateNodePath(),
|
||||
parentNodePath: this.parent?.generateNodePath() ?? '',
|
||||
nodeStatus: undefined,
|
||||
nodeType: CmsResourceItemType.cmsNodeContainer,
|
||||
nodeSubType: undefined,
|
||||
|
||||
@@ -71,6 +71,7 @@ export class RegisteredServerTreeNode extends CmsResourceTreeNodeBase {
|
||||
errorMessage: undefined,
|
||||
metadata: undefined,
|
||||
nodePath: this.generateNodePath(),
|
||||
parentNodePath: this.parent?.generateNodePath() ?? '',
|
||||
nodeStatus: undefined,
|
||||
nodeType: CmsResourceItemType.registeredServer,
|
||||
nodeSubType: undefined
|
||||
|
||||
@@ -95,6 +95,7 @@ export class ServerGroupTreeNode extends CmsResourceTreeNodeBase {
|
||||
errorMessage: undefined,
|
||||
metadata: undefined,
|
||||
nodePath: this.generateNodePath(),
|
||||
parentNodePath: this.parent?.generateNodePath() ?? '',
|
||||
nodeStatus: undefined,
|
||||
nodeType: CmsResourceItemType.serverGroup,
|
||||
nodeSubType: undefined
|
||||
|
||||
Reference in New Issue
Block a user