</ConfirmButton>
) : (
<Tooltip overlay={translate(overlayTranslationKey)}>
- <Button
- className="coding-rules-detail-quality-profile-deactivate button-red"
- disabled={true}>
+ <Button className="coding-rules-detail-quality-profile-deactivate button-red disabled">
{translate('coding_rules.deactivate')}
</Button>
</Tooltip>
overlay="coding_rules.need_extend_or_copy"
>
<Button
- className="coding-rules-detail-quality-profile-deactivate button-red"
- disabled={true}
+ className="coding-rules-detail-quality-profile-deactivate button-red disabled"
>
coding_rules.deactivate
</Button>
overlay="coding_rules.need_extend_or_copy"
>
<Button
- className="coding-rules-detail-quality-profile-deactivate button-red"
- disabled={true}
+ className="coding-rules-detail-quality-profile-deactivate button-red disabled"
>
coding_rules.deactivate
</Button>