1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Initialize paginate queryset with an empty object

This commit is contained in:
Marliana Lara 2019-03-06 12:19:55 -05:00
parent 67753b790c
commit 31f5d13a69
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ function ListJobsController (
// smart-search // smart-search
const name = 'jobs'; const name = 'jobs';
const iterator = 'job'; const iterator = 'job';
let paginateQuerySet = null; let paginateQuerySet = {};
let launchModalOpen = false; let launchModalOpen = false;
let refreshAfterLaunchClose = false; let refreshAfterLaunchClose = false;

View File

@ -13,7 +13,7 @@ function projectsListController (
) { ) {
const vm = this || {}; const vm = this || {};
const [ProjectModel] = resolvedModels; const [ProjectModel] = resolvedModels;
let paginateQuerySet = null; let paginateQuerySet = {};
$scope.canAdd = ProjectModel.options('actions.POST'); $scope.canAdd = ProjectModel.options('actions.POST');
vm.strings = strings; vm.strings = strings;