summaryrefslogtreecommitdiffstats
path: root/ui/src/components/navbar.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-08-09 17:15:27 -0700
committerDessalines <tyhou13@gmx.com>2019-08-09 17:15:27 -0700
commitc494fe8e9b29b81d41145f39351710852e5024d4 (patch)
treead673cf5d5208c962b962951da95e300e5dc1f0a /ui/src/components/navbar.tsx
parente702618e259b286590d3dfab481274c90409f73e (diff)
Making a few internationalization fixes.
Diffstat (limited to 'ui/src/components/navbar.tsx')
-rw-r--r--ui/src/components/navbar.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/src/components/navbar.tsx b/ui/src/components/navbar.tsx
index 5738483d..7a173bed 100644
--- a/ui/src/components/navbar.tsx
+++ b/ui/src/components/navbar.tsx
@@ -155,8 +155,7 @@ export class Navbar extends Component<any, NavbarState> {
parseMessage(msg: any) {
let op: UserOperation = msgOp(msg);
if (msg.error) {
- // TODO
- if (msg.error == "Not logged in.") {
+ if (msg.error == "not_logged_in") {
UserService.Instance.logout();
location.reload();
}