bugfix for retired categories

This commit is contained in:
2016-08-04 13:51:54 +02:00
parent 9444e6b783
commit b8a7a6e7e4
3 changed files with 8 additions and 4 deletions
@@ -154,6 +154,7 @@ transactionControllers.controller('TransactionListCtrl', [ '$scope', '$routePara
for (i = 0; i < $scope.categories.length; i++) {
if ($scope.categories[i].retired) {
$scope.categories.splice(i, 1);
i--;
}
}