mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 22:18:01 -03:30
Merge pull request #4345 from jakemcdermott/fix-4302
fix reference to undefined prop for auditors Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
commit
6bdb106128
@ -46,7 +46,7 @@ export default ['GetBasePath', '$q', 'Rest', 'i18n',
|
||||
};
|
||||
var getActions = appendOauth2ProviderKeys(data.actions.GET);
|
||||
var getKeys = _.keys(getActions);
|
||||
var putActions = appendOauth2ProviderKeys(data.actions.PUT);
|
||||
var putActions = data.actions.PUT ? appendOauth2ProviderKeys(data.actions.PUT) : {};
|
||||
|
||||
_.each(getKeys, function(key) {
|
||||
if(putActions && putActions[key]) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user