diff --git a/public/pages/Detectors/components/DetectorRulesView/DetectorRulesView.tsx b/public/pages/Detectors/components/DetectorRulesView/DetectorRulesView.tsx index 69c457e4b..452af54ac 100644 --- a/public/pages/Detectors/components/DetectorRulesView/DetectorRulesView.tsx +++ b/public/pages/Detectors/components/DetectorRulesView/DetectorRulesView.tsx @@ -123,13 +123,15 @@ export const DetectorRulesView: React.FC = (props) => { /> ); + const getDetectionRulesTitle = () => `View detection rules (${totalSelected})`; + return props.rulesCanFold ? ( -

View detection rules

+

{getDetectionRulesTitle()}

} >