Skip to content

Commit e72ec04

Browse files
committed
fix: environment name in options
1 parent 7c110e7 commit e72ec04

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "0.1.11-beta-3",
3+
"version": "0.1.11-beta-4",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Hooks/useGetResourceKindsOptions/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const getEnvironmentOptions = async (): Promise<EnvironmentType[]> => {
4242
return (
4343
result?.map((environment) => ({
4444
id: environment.id,
45-
name: environment.cluster_name,
45+
name: environment.environment_name,
4646
isVirtual: environment.isVirtualEnvironment ?? false,
4747
cluster: environment.cluster_name,
4848
environmentType: environment.default ? EnvironmentTypeEnum.production : EnvironmentTypeEnum.nonProduction,

0 commit comments

Comments
 (0)