Skip to content

Commit

Permalink
chore: update charts url instance name field COMPASS-8543 (#6521)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anemy authored Nov 26, 2024
1 parent 429cc72 commit c7bbad3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function buildChartsUrl(
const { database, collection } = toNS(namespace);
const url = new URL(`/charts/${groupId}`, window.location.origin);
url.searchParams.set('sourceType', 'cluster');
url.searchParams.set('instanceName', clusterName);
url.searchParams.set('name', clusterName);
url.searchParams.set('database', database);
url.searchParams.set('collection', collection);
return url.toString();
Expand Down
2 changes: 1 addition & 1 deletion packages/databases-collections-list/src/items-grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function buildChartsUrl(
const { database } = toNS(namespace ?? '');
const url = new URL(`/charts/${groupId}`, window.location.origin);
url.searchParams.set('sourceType', 'cluster');
url.searchParams.set('instanceName', clusterName);
url.searchParams.set('name', clusterName);
if (database) {
url.searchParams.set('database', database);
}
Expand Down

0 comments on commit c7bbad3

Please sign in to comment.