mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 06:01:25 -03:30
Deep clone the PortalJobsList so that we don't modify the base config
This commit is contained in:
parent
62351f18ce
commit
3f19f3c6d2
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user