From 6ab5cf583722c0e004b4c171be9d0a6fa9485e66 Mon Sep 17 00:00:00 2001 From: konrad Date: Fri, 24 Nov 2017 10:46:56 +0100 Subject: [PATCH] Fixed author or publisher not selectable when in another language than english --- frontend/src/components/BooksAddEdit.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/BooksAddEdit.vue b/frontend/src/components/BooksAddEdit.vue index 9d7bc3f..c704caf 100644 --- a/frontend/src/components/BooksAddEdit.vue +++ b/frontend/src/components/BooksAddEdit.vue @@ -33,7 +33,7 @@ { this.loading = false @@ -296,15 +299,15 @@ title: this.translate('general').success, text: this.translate('books').insertedSuccess }) + + // Redirect to books list + router.push({ name: 'books' }) }) .catch(e => { this.loading = false this.errorNotification(e) }) } - - // Redirect to books list - router.push({ name: 'books' }) } } }