Skip to content

Commit

Permalink
fix: use LogicalResourceId instead of PhysicalResourceId as tree node…
Browse files Browse the repository at this point in the history
…'s label (#23)

* fix: use logialResourceId instead of PhysicalResourceId as tree node's label

* fixup
  • Loading branch information
fossamagna authored Jun 28, 2024
1 parent ca92e7d commit 68aaac6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tasty-shrimps-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"amplify-backend-vscode": patch
---

fix: use LogicalResourceId instead of PhysicalResourceId as tree node's label
2 changes: 1 addition & 1 deletion src/explorer/amplify-backend-tree-data-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class AmplifyBackendTreeDataProvider
}
return response.StackResources.map((resource) => {
return new AmplifyBackendResourceTreeNode(
resource.PhysicalResourceId!,
resource.LogicalResourceId!,
resource.ResourceType!,
resource
);
Expand Down

0 comments on commit 68aaac6

Please sign in to comment.