* Button for back redirection at error page

feature: #5
This commit is contained in:
2023-01-06 18:05:12 +01:00
parent a8fc4ce44f
commit a6a0a4ed34

View File

@@ -27,10 +27,12 @@ import Navbar from '../components/Navbar.vue'
</p>
<div class="pb-10">
<a @click="navigateToPrevious()" class="px-6 py-2 mr-4 text-sm font-semibold text-blue-800 bg-blue-100">
Zurück
</a>
<RouterLink to="/" class="px-6 py-2 text-sm font-semibold text-blue-800 bg-blue-100">
Go home
Go Home
</RouterLink>
</div>
</div>
</div>
@@ -43,6 +45,11 @@ export default {
message: this.$route.query.message,
code: this.$route.query.code
}
},
methods:{
navigateToPrevious() {
this.$router.back()
}
}
}
</script>