Skip to content

Commit 6f4f49a

Browse files
committed
chore: fix for job dropdown
1 parent a1ce16e commit 6f4f49a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/EnvironmentOverrideRouter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ const EnvironmentOverrideRouter = () => {
225225
const list = []
226226
envListMinRes?.forEach((env) => {
227227
if (env.cluster_name !== 'default_cluster' && env.isClusterCdActive) {
228-
list.push({ id: env.id, clusterName: env.cluster_name, name: env.environment_name })
228+
list.push({ ...env, value: env.id, clusterName: env.cluster_name, label: env.environment_name })
229229
}
230230
})
231231
setEnvironmentOptions(createClusterEnvGroup(list, 'clusterName'))

0 commit comments

Comments
 (0)