mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-04 07:51:58 -05:00
Do not try to render home template on login/logout
This commit is contained in:
@@ -40,7 +40,7 @@ function HostCountGraphData(Rest, getBasePath, processErrors, $q) {
|
||||
processErrors(null, response.data, response.status, null, { hdr: 'Error!',
|
||||
msg: errorMessage
|
||||
});
|
||||
return response;
|
||||
throw response;
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
@@ -28,7 +28,7 @@ function JobStatusGraphData(Rest, getBasePath, processErrors, $rootScope) {
|
||||
hdr: 'Error!',
|
||||
msg: errorMessage
|
||||
});
|
||||
return response;
|
||||
throw response;
|
||||
});
|
||||
|
||||
return pluck('data', result);
|
||||
|
||||
Reference in New Issue
Block a user