mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 05:55:59 -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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user