Merge pull request #1327 from marshmalien/fix/976-jt-admin-error-prompt

Fix erroneous job template admin error message
This commit is contained in:
Marliana Lara 2018-04-11 10:19:24 -04:00 committed by GitHub
commit cee94e7b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {