From a6a0a4ed3484bcc44be8d03afae903e180c4d9c5 Mon Sep 17 00:00:00 2001 From: Denys Seredenko Date: Fri, 6 Jan 2023 18:05:12 +0100 Subject: [PATCH] * Button for back redirection at error page feature: #5 --- src/views/ErrorView.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/ErrorView.vue b/src/views/ErrorView.vue index 48f3132..be0cfab 100644 --- a/src/views/ErrorView.vue +++ b/src/views/ErrorView.vue @@ -27,10 +27,12 @@ import Navbar from '../components/Navbar.vue'

+ + Zurück + - Go home + Go Home -
@@ -43,6 +45,11 @@ export default { message: this.$route.query.message, code: this.$route.query.code } + }, + methods:{ + navigateToPrevious() { + this.$router.back() + } } } \ No newline at end of file