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:
parent
67753b790c
commit
31f5d13a69
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user