Skip to content

Commit dd96a84

Browse files
committed
check added for secret view access in component
1 parent b3923d7 commit dd96a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetailTabs/Manifest.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ function ManifestComponent({
446446
}
447447
className="flex left"
448448
>
449-
{renderShowDecodedValueCheckbox()}
449+
{!isEditmode && secretViewAccess && renderShowDecodedValueCheckbox()}
450450
</CodeEditor.Information>
451451
)}
452452
{activeTab === 'Compare' && (

0 commit comments

Comments
 (0)