Connecting modals where needed

This commit is contained in:
Tom Moor
2017-09-11 23:41:12 -07:00
parent cbf87e9dbe
commit 72b10787e5
9 changed files with 25 additions and 22 deletions

View File

@ -65,7 +65,9 @@ class ApiClient {
// Handle 401, log out user
if (response.status === 401) {
return stores.auth.logout(() => (window.location = '/'));
stores.auth.logout();
window.location = '/';
return;
}
// Handle failed responses