commit | 0496423eaed45c86d4ffa051ce62da2b20ad8ebe | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Sat Jan 07 12:53:46 2017 -0800 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Sun Jan 08 11:01:50 2017 -0800 |
tree | 77727bf3dd264572f5e79be4697c3448eedf99d3 | |
parent | 45a02602f1b11ce42a23a13de4fe17ca564bdfb8 [diff] [blame] |
Adding relations links to table Change-Id: I5dd2d206a6da7fec163342f54f1143a7783f7758
diff --git a/src/app/core/nav/nav.ts b/src/app/core/nav/nav.ts index 31831e1..6c26635 100644 --- a/src/app/core/nav/nav.ts +++ b/src/app/core/nav/nav.ts
@@ -56,7 +56,10 @@ } logout() { - this.authService.logout(); + this.authService.logout() + .then(() => { + this.$state.go('login'); + }); } }