File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
ui/src/app/applications/components/application-node-info Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -275,13 +275,15 @@ export const ApplicationNodeInfo = (props: {
275275 ) }
276276 { `${ props . node . name } ` }
277277 < br />
278- { props ?. controlled ?. state ?. normalizedLiveState ?. apiVersion && (
279- < span >
280- Please update your resource specification to use the latest Kubernetes API resources supported by the target cluster. The
281- recommended syntax is{ ' ' }
282- { `${ props . controlled . state . normalizedLiveState . apiVersion } /${ props ?. controlled . state . normalizedLiveState ?. kind } :${ props . node . name } ` }
283- </ span >
284- ) }
278+ { props ?. controlled ?. state ?. normalizedLiveState ?. apiVersion &&
279+ `${ props ?. controlled ?. state ?. targetState ?. apiVersion } /${ props ?. controlled ?. state ?. targetState ?. kind } :${ props . node . name } ` !==
280+ `${ props . controlled . state . normalizedLiveState . apiVersion } /${ props ?. controlled . state . normalizedLiveState ?. kind } :${ props . node . name } ` && (
281+ < span >
282+ Please update your resource specification to use the latest Kubernetes API resources supported by the target cluster. The
283+ recommended syntax is{ ' ' }
284+ { `${ props . controlled . state . normalizedLiveState . apiVersion } /${ props ?. controlled . state . normalizedLiveState ?. kind } :${ props . node . name } ` }
285+ </ span >
286+ ) }
285287 </ div >
286288 ) }
287289 </ React . Fragment >
You can’t perform that action at this time.
0 commit comments