mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02: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:
@@ -46,7 +46,7 @@ export default ['GetBasePath', '$q', 'Rest', 'i18n',
|
|||||||
};
|
};
|
||||||
var getActions = appendOauth2ProviderKeys(data.actions.GET);
|
var getActions = appendOauth2ProviderKeys(data.actions.GET);
|
||||||
var getKeys = _.keys(getActions);
|
var getKeys = _.keys(getActions);
|
||||||
var putActions = appendOauth2ProviderKeys(data.actions.PUT);
|
var putActions = data.actions.PUT ? appendOauth2ProviderKeys(data.actions.PUT) : {};
|
||||||
|
|
||||||
_.each(getKeys, function(key) {
|
_.each(getKeys, function(key) {
|
||||||
if(putActions && putActions[key]) {
|
if(putActions && putActions[key]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user