mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
fix job templates deletion on edit
This commit is contained in:
@@ -77,7 +77,7 @@ export default
|
||||
Rest.setUrl(url);
|
||||
Rest.destroy()
|
||||
.success(function () {
|
||||
if (parseInt($state.params.template_id) === id) {
|
||||
if (parseInt($state.params.id) === id) {
|
||||
$state.go("^", null, {reload: true});
|
||||
} else {
|
||||
$scope.search(list.iterator);
|
||||
|
||||
Reference in New Issue
Block a user