feat(validate report): validation view show if there is error

master
yixian 5 years ago
parent a9ee640f81
commit 7b6f71cf84

@ -24,6 +24,9 @@ define(['angular', 'uiRouter'], function () {
})
};
$scope.findReport = function (dateStr) {
if ($scope.validatedDates == null) {
return null;
}
let filtered = $scope.validatedDates.filter(rp => rp.date === dateStr);
return filtered.length ? filtered[0] : null
}

Loading…
Cancel
Save