Lines Matching refs:selectedSeverity
22 $scope.selectedSeverity = class in $scope
64 $scope.selectedSeverity.all = !$scope.selectedSeverity.all;
66 if ($scope.selectedSeverity.all) {
67 $scope.selectedSeverity.normal = false;
68 $scope.selectedSeverity.warning = false;
69 $scope.selectedSeverity.critical = false;
74 $scope.selectedSeverity[severity] = !$scope.selectedSeverity[severity];
77 if ($scope.selectedSeverity[severity] == false &&
78 (!$scope.selectedSeverity.normal &&
79 !$scope.selectedSeverity.warning &&
80 !$scope.selectedSeverity.critical)) {
81 $scope.selectedSeverity.all = true;
86 if ($scope.selectedSeverity.normal && $scope.selectedSeverity.warning &&
87 $scope.selectedSeverity.critical) {
88 $scope.selectedSeverity.all = true;
89 $scope.selectedSeverity.normal = false;
90 $scope.selectedSeverity.warning = false;
91 $scope.selectedSeverity.critical = false;
93 $scope.selectedSeverity.all = false;
98 if ($scope.selectedSeverity.all) return true;
101 (sensor.severity_flags.normal && $scope.selectedSeverity.normal) ||
103 $scope.selectedSeverity.warning) ||
105 $scope.selectedSeverity.critical));