mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-02 14:11:48 -05:00
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