Skip to content
This repository was archived by the owner on Oct 5, 2020. It is now read-only.

Commit e534e4f

Browse files
authored
Merge pull request #540 from grtjn/518-abstract-state
Fixed #518: robustness check for abstract states
2 parents 7c067cd + e7e9dc4 commit e534e4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/templates/ui/app/login/login.service.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@
132132
$rootScope.$broadcast('loginService:logout-success', response);
133133
_loginError = null;
134134
_isAuthenticated = false;
135-
$state.reload();
135+
if (!$state.current.abstract) {
136+
$state.reload();
137+
}
136138
return response;
137139
});
138140
}

0 commit comments

Comments
 (0)