diff --git a/frontend/src/components/Auth/AuthNavbar.vue b/frontend/src/components/Auth/AuthNavbar.vue
index 73602c48a..0ff10cb78 100644
--- a/frontend/src/components/Auth/AuthNavbar.vue
+++ b/frontend/src/components/Auth/AuthNavbar.vue
@@ -18,9 +18,9 @@
- {{ $t('signup') }}
+ {{ $t('signup') }}
{{ $t('math.pipe') }}
- {{ $t('signin') }}
+ {{ $t('signin') }}
@@ -36,6 +36,16 @@ export default {
sheet: '/img/template/Blaetter.png',
}
},
+ 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'
+ },
+ },
}
diff --git a/frontend/src/components/Auth/AuthNavbarSmall.vue b/frontend/src/components/Auth/AuthNavbarSmall.vue
index cc0087560..0500a9dc6 100644
--- a/frontend/src/components/Auth/AuthNavbarSmall.vue
+++ b/frontend/src/components/Auth/AuthNavbarSmall.vue
@@ -2,9 +2,9 @@
- {{ $t('signup') }}
+ {{ $t('signup') }}
{{ $t('math.pipe') }}
- {{ $t('signin') }}
+ {{ $t('signin') }}
@@ -13,6 +13,16 @@