File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/components/v2/appDetails Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -152,9 +152,10 @@ const AppDetailsComponent = ({
152152 return < VirtualAppDetailsEmptyState environmentName = { appDetails . environmentName } />
153153 }
154154 if (
155- ! appDetails ?. resourceTree ?. nodes ?. length &&
156- appDetails ?. deploymentAppType === DeploymentAppTypes . HELM &&
157- appDetails ?. helmReleaseStatus &&
155+ appDetails &&
156+ ! appDetails . resourceTree ?. nodes ?. length &&
157+ appDetails . deploymentAppType === DeploymentAppTypes . HELM &&
158+ appDetails . helmReleaseStatus &&
158159 appDetails . helmReleaseStatus . status &&
159160 ( appDetails . helmReleaseStatus . status . toLowerCase ( ) === DEPLOYMENT_STATUS . FAILED ||
160161 appDetails . helmReleaseStatus . status . toLowerCase ( ) === DEPLOYMENT_STATUS . PROGRESSING ||
@@ -164,7 +165,7 @@ const AppDetailsComponent = ({
164165 < ReleaseStatusEmptyState
165166 message = { appDetails . helmReleaseStatus . message }
166167 description = {
167- appDetails ? .helmReleaseStatus . status ? .toLowerCase ( ) === DEPLOYMENT_STATUS . UNKNOWN
168+ appDetails . helmReleaseStatus . status . toLowerCase ( ) === DEPLOYMENT_STATUS . UNKNOWN
168169 ? ''
169170 : appDetails . helmReleaseStatus . description
170171 }
You can’t perform that action at this time.
0 commit comments