We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7474b6e commit 83b779eCopy full SHA for 83b779e
src/Common/CustomTagSelector/TagDetails.tsx
@@ -60,7 +60,7 @@ export const TagDetails = ({
60
{!hidePropagateTag && (
61
<div
62
className={`dc__border h-30 pl-4 pr-4 br-4 mr-8 pointer ${tagData.propagate ? 'bcn-7' : ''} ${tagData.key.startsWith('devtron.ai/') ? 'cursor-not-allowed bcn-1' : ''}`}
63
- onClick={propagateTagToResource}
+ onClick={!tagData?.isPropagateDisabled ? propagateTagToResource : null}
64
data-testid={`propagate-tag-${index}`}
65
>
66
<InjectTag className={`icon-dim-20 mt-4 ${tagData.propagate ? 'scn-0' : ''}`} />
0 commit comments