File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/components/ciPipeline Expand file tree Collapse file tree 1 file changed +5
-4
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
) }
You can’t perform that action at this time.
0 commit comments