mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Merge pull request #1327 from marshmalien/fix/976-jt-admin-error-prompt
Fix erroneous job template admin error message
This commit is contained in:
commit
cee94e7b97
@ -102,7 +102,7 @@ export default
|
||||
}
|
||||
})
|
||||
.catch( (error) => {
|
||||
if (error.status_code === 403) {
|
||||
if (error.status === 403) {
|
||||
/* user doesn't have access to see the project, no big deal. */
|
||||
$scope.disablePlaybookBecausePermissionDenied = true;
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user