Skip to content

Commit

Permalink
fixed bug with none int values
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar authored and slowfox089 committed Dec 10, 2020
1 parent 71a050b commit bb43d2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/dist/main.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/resources/js/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,10 @@ zaa.directive("zaaTagArray", function() {

if ($scope.model == undefined) {
$scope.model = [];
} else {
angular.forEach($scope.model, function(value, key) {
$scope.model[key] = parseInt(value);
});
}

$scope.isInSelection = function(id) {
Expand Down

0 comments on commit bb43d2a

Please sign in to comment.