mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 19:20:05 -03:30
fixed refresh getting mad on /add/ routes
This commit is contained in:
@@ -78,7 +78,7 @@ export default
|
||||
.then(function (currentPage) {
|
||||
scope.getPage(currentPage, set, iterator);
|
||||
});
|
||||
} else if ($location.$$url.split("/")[1] === params.set && $location.$$url.split("/")[2] && !scope.getNewPage) {
|
||||
} else if ($location.$$url.split("/")[1] === params.set && $location.$$url.split("/")[2] && $location.$$url.split("/")[2] !== "add" && !scope.getNewPage) {
|
||||
var id = $location.$$url.split("/")[2];
|
||||
var restUrl = params.url.split("?")[0];
|
||||
var pageSize = scope[iterator + '_page_size'];
|
||||
|
||||
Reference in New Issue
Block a user