Merge pull request #4650 from ulferts/fix/no_refresh_on_split_view_open

only watch for changes in the state params we are interested in
pull/4656/head
ulferts 8 years ago committed by GitHub
commit caac1acc88
  1. 5
      frontend/app/components/routing/wp-list/wp-list.controller.ts

@ -206,7 +206,10 @@ function WorkPackagesListController($scope,
});
$scope.$watchCollection(function(){
return $state.params;
return {
query_id: $state.params.query_id,
query_props: $state.params.query_props
};
}, function(params) {
if ($scope.query &&
(params.query_id !== $scope.query.id ||

Loading…
Cancel
Save