mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Initialize paginate queryset with an empty object
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user