mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -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) => {
|
.catch( (error) => {
|
||||||
if (error.status_code === 403) {
|
if (error.status === 403) {
|
||||||
/* user doesn't have access to see the project, no big deal. */
|
/* user doesn't have access to see the project, no big deal. */
|
||||||
$scope.disablePlaybookBecausePermissionDenied = true;
|
$scope.disablePlaybookBecausePermissionDenied = true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user