Skip to content

Commit 01cce1d

Browse files
committed
fix: giops configure warning rendring on every mount
1 parent e0b507b commit 01cce1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ const ChartValuesView = ({
238238
dispatch({
239239
type: ChartValuesViewActionTypes.updateGitOpsConfiguration,
240240
payload: {
241-
showNoGitOpsWarning: result.isInstalled && !result.isConfigured,
241+
showNoGitOpsWarning: result.isInstalled && !result.isConfigured && !isUpdateAppView,
242242
authMode: result.authMode,
243243
},
244244
})
@@ -1723,6 +1723,7 @@ const ChartValuesView = ({
17231723
isVirtualEnvironment={appDetails?.isVirtualEnvironment}
17241724
/>
17251725
)}
1726+
{ console.log('allowedDeploymentTypes', allowedDeploymentTypes) }
17261727
{!window._env_.HIDE_GITOPS_OR_HELM_OPTION && showDeploymentTools && (
17271728
<DeploymentAppSelector
17281729
commonState={commonState}

0 commit comments

Comments
 (0)