mirror of
https://github.com/ansible/awx.git
synced 2026-01-24 16:01:20 -03:30
fix job templates deletion on edit
This commit is contained in:
parent
1a0266fc54
commit
58f322ec0b
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user