mirror of
https://github.com/baserow/baserow.git
synced 2026-12-05 08:48:35 +00:00
9 lines
176 B
Vue
9 lines
176 B
Vue
<script>
|
|
export default {
|
|
fetch({ store, redirect }) {
|
|
const name = store.getters['auth/isAuthenticated'] ? 'dashboard' : 'login'
|
|
redirect({ name })
|
|
},
|
|
}
|
|
</script>
|