[TE] user dashboard - hide anomalies if alert is disabled
@@ -172,9 +172,11 @@ public class UserDashboardResource {
if (StringUtils.isNotBlank(application)) {
List<AnomalyFunctionDTO> functions = this.functionDAO.findAllByApplication(application);
for (AnomalyFunctionDTO function : functions) {
+ if (function.getIsActive()) {
applicationFunctionIds.add(function.getId());
}
}
+ }
// group (indirect)
Set<Long> groupFunctionIds = new HashSet<>();
