Skip to content

Commit ccc181f

Browse files
committed
WIP update layout.vue
1 parent 42569e6 commit ccc181f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/Layout.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</v-list>
1515
</v-toolbar>
1616
<v-list>
17-
<v-list-tile @click="$router.push('/app')">
17+
<v-list-tile @click="$router.push('/realtime-database')">
1818
<v-list-tile-content>
1919
<v-list-tile-title>Realtime database</v-list-tile-title>
2020
</v-list-tile-content>
@@ -75,7 +75,9 @@ export default {
7575
},
7676
methods: {
7777
logout () {
78-
this.$auth.logout()
78+
this.$auth.logout().then(() => {
79+
this.$route.push('/login')
80+
})
7981
}
8082
},
8183
components: {

0 commit comments

Comments
 (0)