diff --git a/gsa/src/web/pages/scanconfigs/nvtfamilies.js b/gsa/src/web/pages/scanconfigs/nvtfamilies.js index 0954f6c108..8f3d00f091 100644 --- a/gsa/src/web/pages/scanconfigs/nvtfamilies.js +++ b/gsa/src/web/pages/scanconfigs/nvtfamilies.js @@ -89,14 +89,18 @@ const NvtFamily = ({ name={familyName} checked={isToSelectWhole || trend === SCANCONFIG_TREND_DYNAMIC} convert={parseTrend} + disabled={isToSelectWhole} value={SCANCONFIG_TREND_DYNAMIC} onChange={onTrendChange} /> - + { + const isToSelectWhole = WHOLE_SELECTION_FAMILIES.includes(name); select[name] = value; - + if (isToSelectWhole) { + onTrendChange(value, name); + } onValueChange(select, 'select'); }; return (