mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Deep clone the PortalJobsList so that we don't modify the base config
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
export function PortalModeJobsController($scope, $rootScope, GetBasePath, GenerateList, PortalJobsList, SearchInit,
|
||||
PaginateInit){
|
||||
|
||||
var list = PortalJobsList,
|
||||
var list = _.cloneDeep(PortalJobsList),
|
||||
view = GenerateList,
|
||||
// show user jobs by default
|
||||
defaultUrl = GetBasePath('jobs') + '?created_by=' + $rootScope.current_user.id,
|
||||
|
||||
Reference in New Issue
Block a user