mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
fixed refresh getting mad on /add/ routes
This commit is contained in:
parent
c66c117e1f
commit
3a1d49d9d2
@ -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'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user