Fix bug when board list was not in sync when adding a new one
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
Julius Härtl
parent
7c552e9a52
commit
ef64dfc5a2
@@ -105,6 +105,13 @@ app.controller('ListController', function ($scope, $location, $filter, BoardServ
|
||||
}
|
||||
}, true);
|
||||
}
|
||||
|
||||
$scope.$watch(function () {
|
||||
return $scope.boardservice.data;
|
||||
}, function () {
|
||||
filterData();
|
||||
}, true);
|
||||
|
||||
/* Watch for board filter change */
|
||||
$scope.$watchCollection(function(){
|
||||
return $state.params;
|
||||
|
||||
Reference in New Issue
Block a user