Skip to content

Commit c7bbad3

Browse files
authored
chore: update charts url instance name field COMPASS-8543 (#6521)
1 parent 429cc72 commit c7bbad3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/compass-collection/src/components/collection-header-actions/collection-header-actions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function buildChartsUrl(
2828
const { database, collection } = toNS(namespace);
2929
const url = new URL(`/charts/${groupId}`, window.location.origin);
3030
url.searchParams.set('sourceType', 'cluster');
31-
url.searchParams.set('instanceName', clusterName);
31+
url.searchParams.set('name', clusterName);
3232
url.searchParams.set('database', database);
3333
url.searchParams.set('collection', collection);
3434
return url.toString();

packages/databases-collections-list/src/items-grid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function buildChartsUrl(
128128
const { database } = toNS(namespace ?? '');
129129
const url = new URL(`/charts/${groupId}`, window.location.origin);
130130
url.searchParams.set('sourceType', 'cluster');
131-
url.searchParams.set('instanceName', clusterName);
131+
url.searchParams.set('name', clusterName);
132132
if (database) {
133133
url.searchParams.set('database', database);
134134
}

0 commit comments

Comments
 (0)