Skip to content

Commit

Permalink
Fix colors in input cell
Browse files Browse the repository at this point in the history
  • Loading branch information
polo2ro committed Mar 10, 2017
1 parent def43d9 commit 7a4a467
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -86,7 +86,7 @@ grunt --help
## TODO

- [ ] Client on view rights from the types list: the filter does not work
- [ ] In second step of the request, there is no color on input cell if ref=User
- [x] In second step of the request, there is no color on input cell
- [x] Add code for the new rule type "request_beneficiary"
- [x] View help message if right is linked to no users and no collections
- [x] View users list in right page if the right is linked to users
Expand Down
2 changes: 1 addition & 1 deletion public/js/services/absence-edit.js
Expand Up @@ -152,7 +152,7 @@ define(['angular', 'services/request-edit'], function(angular, loadRequestEdit)
browseInputValue(function(renewalId) {
var consumedQuantity = distribution.renewal[renewalId].consumedQuantity;
var avail = available[renewalId];
if (null !== avail && undefined !== $scope.initialQuantity[renewalId]) {
if (null !== avail && undefined !== $scope.initialQuantity && undefined !== $scope.initialQuantity[renewalId]) {
avail = avail + $scope.initialQuantity[renewalId];
}
$scope.distribution.class[renewalId] = getValueClass(consumedQuantity, avail, completed);
Expand Down

0 comments on commit 7a4a467

Please sign in to comment.