File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/components/v2/appDetails Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,6 @@ const AppDetailsComponent = ({
71
71
const isVirtualEnv = useRef ( appDetails ?. isVirtualEnvironment )
72
72
const location = useLocation ( )
73
73
const history = useHistory ( )
74
- const isGitOps = appDetails ?. deploymentAppType === DeploymentAppTypes . ARGO
75
- const isManifestDownload = appDetails ?. deploymentAppType === DeploymentAppTypes . MANIFEST_DOWNLOAD
76
74
77
75
const [ deploymentStatusDetailsBreakdownData , setDeploymentStatusDetailsBreakdownData ] =
78
76
useState < DeploymentStatusDetailsBreakdownDataType > ( {
@@ -108,6 +106,12 @@ const AppDetailsComponent = ({
108
106
useEffect ( ( ) => {
109
107
// Get deployment status timeline on ArgoCD apps in devtron helm apps
110
108
// i.e. Devtron Helm app deployed through GitOps /Manifest Download
109
+ const isGitOps =
110
+ appDetails ?. deploymentAppType === DeploymentAppTypes . ARGO ||
111
+ appDetails ?. deploymentAppType === DeploymentAppTypes . FLUX
112
+
113
+ const isManifestDownload = appDetails ?. deploymentAppType === DeploymentAppTypes . MANIFEST_DOWNLOAD
114
+
111
115
if ( ( isGitOps || isManifestDownload ) && ! isExternalApp ) {
112
116
getDeploymentDetailStepsData ( )
113
117
}
You can’t perform that action at this time.
0 commit comments