Skip to content

Commit 8251059

Browse files
authored
Merge pull request #2431 from devtron-labs/fix/helm-chart-deployment-type
fix: helm chart deployment type
2 parents 09475d2 + 8e4cbd7 commit 8251059

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/components/app/details/appDetails/AppDetails.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import {
2020
Progressing,
2121
noop,
2222
stopPropagation,
23-
multiSelectStyles,
2423
DeploymentAppTypes,
2524
useSearchString,
2625
useAsync,
@@ -53,7 +52,6 @@ import {
5352
DEFAULT_STATUS_TEXT,
5453
} from '../../../../config'
5554
import { NavigationArrow, useAppContext, FragmentHOC } from '../../../common'
56-
import { groupHeaderStyle, Option } from '../../../v2/common/ReactSelect.utils'
5755
import { getAppConfigStatus, getAppOtherEnvironmentMin, stopStartApp } from '../../../../services/service'
5856
import AppNotDeployedIcon from '@Images/app-not-deployed.svg'
5957
import AppNotConfiguredIcon from '@Images/app-not-configured.png'
@@ -377,6 +375,7 @@ export const Details: React.FC<DetailsType> = ({
377375
useEffect(
378376
() => () => {
379377
clearPollingInterval()
378+
clearDeploymentStatusTimer()
380379
IndexStore.clearAppDetails()
381380
},
382381
[],

src/components/v2/values/chartValuesDiff/ChartValuesView.component.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,6 @@ export const GitOpsDrawer = ({
434434
renderValidationErrorLabel()}
435435
</div>
436436
) : null}
437-
<hr />
438437
</>
439438
)
440439
}

src/components/v2/values/chartValuesDiff/ChartValuesView.reducer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const initState = (
8080
invalidProject: false,
8181
formValidationError: {},
8282
showNoGitOpsWarning: false,
83-
deploymentAppType: deploymentAppType ?? DeploymentAppTypes.HELM,
83+
deploymentAppType: deploymentAppType ?? window._env_.HIDE_GITOPS_OR_HELM_OPTION ? '' : DeploymentAppTypes.HELM,
8484
gitRepoURL: '',
8585
authMode: null,
8686
initialChartVersionValues: {

0 commit comments

Comments
 (0)