fix(endpoints): always reset agent headers when switching state (#2939)

pull/2954/head
William 2019-06-19 00:45:49 +12:00 committed by xAt0mZ
parent 71b1da8d32
commit f3b9668629
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ function ($rootScope, $state, Authentication, authManager, StateManager, Endpoin
}
};
$transitions.onBefore({ to: 'docker.**' }, function() {
$transitions.onBefore({}, function() {
HttpRequestHelper.resetAgentHeaders();
});
}]);