From 5beb684b12c7f0ee4ea8e5db040fbb2fc3d348cd Mon Sep 17 00:00:00 2001 From: Ciaran Ainsworth Date: Sun, 2 May 2021 15:19:56 +0100 Subject: [PATCH] Create back button to get out of edit screen --- front/src/components/library/EditForm.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/front/src/components/library/EditForm.vue b/front/src/components/library/EditForm.vue index c9b017411..02faf117f 100644 --- a/front/src/components/library/EditForm.vue +++ b/front/src/components/library/EditForm.vue @@ -9,6 +9,11 @@ Submit another edit +
@@ -127,6 +132,11 @@ Submit and apply edit Submit suggestion +
@@ -243,6 +253,9 @@ export default { self.isLoading = false } ) + }, + goBack() { + return this.$router.go(-1) } }, watch: {