Skip to content

Commit

Permalink
fix the multi-level subgroup issue
Browse files Browse the repository at this point in the history
Update the `ResourceGroupView` component
to properly display a subgroup which is in
3rd or more level.

Signed-off-by: Yihong Wang <[email protected]>
  • Loading branch information
yhwang authored and tdcmeehan committed Oct 15, 2024
1 parent 27eb666 commit bee3c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion presto-ui/src/components/ResourceGroupView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export default function ResourceGroupView() {
});
return;
}
fetch('/v1/resourceGroupState/' + group.replace('.', '/'))
fetch(`/v1/resourceGroupState/${group.replaceAll('.', '/')}`)
.then(response => response.json())
.then((resources) => {
dataSet.current = {
Expand Down

0 comments on commit bee3c6e

Please sign in to comment.