File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed
src/components/v2/values/chartValuesDiff Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"homepage" : " /dashboard" ,
6
6
"dependencies" : {
7
- "@devtron-labs/devtron-fe-common-lib" : " 1.14.0 " ,
7
+ "@devtron-labs/devtron-fe-common-lib" : " 1.14.1 " ,
8
8
"@esbuild-plugins/node-globals-polyfill" : " 0.2.3" ,
9
9
"@rjsf/core" : " ^5.13.3" ,
10
10
"@rjsf/utils" : " ^5.13.3" ,
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ const ChartValuesView = ({
160
160
presetValueId : string
161
161
envId : string
162
162
} > ( )
163
- const { serverMode } = useMainContext ( )
163
+ const { serverMode, isManifestScanningEnabled } = useMainContext ( )
164
164
const { handleDownload } = useDownload ( )
165
165
const chartValuesAbortRef = useRef < AbortController > ( new AbortController ( ) )
166
166
const [ chartValuesList , setChartValuesList ] = useState < ChartValuesType [ ] > ( chartValuesListFromParent || [ ] )
@@ -1809,12 +1809,15 @@ const ChartValuesView = ({
1809
1809
/>
1810
1810
) }
1811
1811
</ div >
1812
- { ! isExternalApp && ( isDeployChartView || isUpdateAppView ) && ToggleSecurityScan && (
1813
- < ToggleSecurityScan
1814
- isManifestScanEnabled = { commonState . isManifestScanEnabled }
1815
- handleToggleSecurityScan = { handleToggleSecurityScan }
1816
- />
1817
- ) }
1812
+ { ! isExternalApp &&
1813
+ isManifestScanningEnabled &&
1814
+ ( isDeployChartView || isUpdateAppView ) &&
1815
+ ToggleSecurityScan && (
1816
+ < ToggleSecurityScan
1817
+ isManifestScanEnabled = { commonState . isManifestScanEnabled }
1818
+ handleToggleSecurityScan = { handleToggleSecurityScan }
1819
+ />
1820
+ ) }
1818
1821
{ ! isDeployChartView &&
1819
1822
chartValueId !== '0' &&
1820
1823
! (
Original file line number Diff line number Diff line change 1124
1124
dependencies :
1125
1125
" @jridgewell/trace-mapping" " 0.3.9"
1126
1126
1127
- " @devtron-labs/[email protected] .0 " :
1128
- version "1.14.0 "
1129
- resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.14.0 .tgz#92ea67194ae9b41381c32486edbfe977ee5e7f17 "
1130
- integrity sha512-m/X69ppsT+EZT6mCB7NV0gEvaSaPG0Ieou96f+WWSD5x7sqxr950hkQ3moElv/9b1HYWWXor5Bd/NV22aI+9Nw ==
1127
+ " @devtron-labs/[email protected] .1 " :
1128
+ version "1.14.1 "
1129
+ resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.14.1 .tgz#f47995e25e32600866aea0332394b01df53603a6 "
1130
+ integrity sha512-9ebIua7+Dgu+9GKUpK7tbYD38ftUGpNIByJwTZV2MldfSLtuJMHv8Jyxxmsyp9OUk5b87D59zQ6jleYk1V6ssA ==
1131
1131
dependencies :
1132
1132
" @codemirror/lang-json" " 6.0.1"
1133
1133
" @codemirror/lang-yaml" " 6.1.2"
You can’t perform that action at this time.
0 commit comments