mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
Properly reloads after successful deletion
This commit is contained in:
@@ -120,7 +120,7 @@ function ListTokensController (
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
let reloadListStateParams = null;
|
let reloadListStateParams = null;
|
||||||
|
|
||||||
if ($scope.tokens.length === 1 && $state.params.token_search &&
|
if ($scope.vm.tokens.length === 1 && $state.params.token_search &&
|
||||||
!_.isEmpty($state.params.token_search.page) &&
|
!_.isEmpty($state.params.token_search.page) &&
|
||||||
$state.params.token_search.page !== '1') {
|
$state.params.token_search.page !== '1') {
|
||||||
const page = `${(parseInt(reloadListStateParams
|
const page = `${(parseInt(reloadListStateParams
|
||||||
|
|||||||
Reference in New Issue
Block a user