gradido/frontend/src/mixins/authLinks.js
2022-10-12 18:16:02 +02:00

13 lines
299 B
JavaScript

export const authLinks = {
computed: {
login() {
if (this.$route.params.code) return '/login/' + this.$route.params.code
return '/login'
},
register() {
if (this.$route.params.code) return '/register/' + this.$route.params.code
return '/register'
},
},
}