7
7
Button ,
8
8
ButtonStyleType ,
9
9
ButtonVariantType ,
10
+ ClusterStatusType ,
10
11
ComponentSizeType ,
11
12
Drawer ,
12
13
FiltersTypeEnum ,
@@ -19,7 +20,6 @@ import {
19
20
TableCellComponentProps ,
20
21
Tooltip ,
21
22
URLS as COMMON_URLS ,
22
- ClusterStatusType ,
23
23
} from '@devtron-labs/devtron-fe-common-lib'
24
24
25
25
import { importComponentFromFELibrary } from '@Components/common'
@@ -176,7 +176,7 @@ export const ClusterListCellComponent: FunctionComponent<
176
176
onClick = { handleAddEnv }
177
177
showTooltip
178
178
tooltipProps = { {
179
- content : 'Add Environment'
179
+ content : 'Add Environment' ,
180
180
} }
181
181
/>
182
182
< Button
@@ -190,7 +190,7 @@ export const ClusterListCellComponent: FunctionComponent<
190
190
onClick = { handleEditCluster }
191
191
showTooltip
192
192
tooltipProps = { {
193
- content : 'Edit Cluster'
193
+ content : 'Edit Cluster' ,
194
194
} }
195
195
/>
196
196
< ActionMenu
@@ -307,6 +307,7 @@ export const EditCluster = ({ clusterList, reloadClusterList, handleClose }: Edi
307
307
handleModalClose = { handleClose }
308
308
reload = { reloadClusterList }
309
309
category = { cluster . category }
310
+ isProd = { cluster . isProd }
310
311
/>
311
312
)
312
313
}
@@ -334,12 +335,12 @@ export const DeleteCluster = ({ clusterList, reloadClusterList, handleClose }: E
334
335
export const ClusterEnvLoader = ( ) => (
335
336
< >
336
337
{ Array . from ( { length : 3 } ) . map ( ( _ , idx ) => (
337
- // eslint-disable-next-line react/no-array-index-key
338
338
< div
339
+ // eslint-disable-next-line react/no-array-index-key
339
340
key = { idx }
340
- className = { `px-20 py-8 dc__grid environment-row ${ ! ! VirtualClusterForm ? 'with-category' : '' } dc__align-items-center` }
341
+ className = { `px-20 py-8 dc__grid environment-row ${ VirtualClusterForm ? 'with-category' : '' } dc__align-items-center` }
341
342
>
342
- { Array . from ( { length : 5 } ) . map ( ( _ , index ) => (
343
+ { Array . from ( { length : 5 } ) . map ( ( _val , index ) => (
343
344
// eslint-disable-next-line react/no-array-index-key
344
345
< span key = { index } className = "shimmer" />
345
346
) ) }
0 commit comments