File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ export const SourceMaterials: React.FC<SourceMaterialsProps> = function (props)
225
225
}
226
226
/>
227
227
{ /* Note: In case Error is not shown added height*/ }
228
- { errorObj ?. isValid && < div className = "h-24" > </ div > }
228
+ { ( errorObj ?. isValid || islinkedCI ) && < div className = "h-24" > </ div > }
229
229
</ div >
230
230
) }
231
231
@@ -247,11 +247,12 @@ export const SourceMaterials: React.FC<SourceMaterialsProps> = function (props)
247
247
)
248
248
} }
249
249
error = {
250
- errorObj && ! errorObj . isValid
251
- && props . validationRules ?. sourceValue ( _materials [ index ] . regex ) . message
250
+ errorObj &&
251
+ ! errorObj . isValid &&
252
+ props . validationRules ?. sourceValue ( _materials [ index ] . regex ) . message
252
253
}
253
254
/>
254
- { /* Note: In case Error is not shown */ }
255
+ { /* Note: In case Error is not shown */ }
255
256
{ errorObj ?. isValid && < div className = "h-24" > </ div > }
256
257
</ div >
257
258
) }
Original file line number Diff line number Diff line change @@ -164,6 +164,10 @@ function EnvironmentSelectorComponent({
164
164
165
165
const deployedAppDetail = isExternalApp && params . appId && params . appId . split ( '|' )
166
166
167
+ const handleScaleWorkloads = ( ) => {
168
+ setWorkloadsModal ( true )
169
+ }
170
+
167
171
return (
168
172
< div className = "flexbox flex-justify pl-20 pr-20 pt-16 pb-16" >
169
173
< div >
@@ -280,10 +284,10 @@ function EnvironmentSelectorComponent({
280
284
Urls
281
285
</ button >
282
286
) }
283
- { ! showWorkloadsModal && ! isVirtualEnvironment && (
287
+ { ! isVirtualEnvironment && (
284
288
< button
285
289
className = "scale-workload__btn flex left cta cancel pb-6 pt-6 pl-12 pr-12 en-2 ml-6"
286
- onClick = { ( ) => setWorkloadsModal ( true ) }
290
+ onClick = { handleScaleWorkloads }
287
291
data-testid = "scale-workload-button-app-details"
288
292
>
289
293
< ScaleObjects className = "mr-4" /> Scale workloads
Original file line number Diff line number Diff line change 121
121
122
122
.chart-values-view__details {
123
123
padding : 16px 16px 12px ;
124
+ height : calc (100vh - 98px );
125
+ overflow : scroll ;
124
126
125
127
.chart-values__project-container .chart-values__project-label ,
126
128
.chart-values__environment-container .chart-values__environment-label ,
You can’t perform that action at this time.
0 commit comments