diff --git a/komga-webui/src/components/LibraryAddDialog.vue b/komga-webui/src/components/LibraryAddDialog.vue
index 1a514e2c1..51afaaa92 100644
--- a/komga-webui/src/components/LibraryAddDialog.vue
+++ b/komga-webui/src/components/LibraryAddDialog.vue
@@ -11,7 +11,7 @@
mdi-close
{{ dialogTitle }}
-
+
{{ confirmText }}
@@ -30,7 +30,7 @@
:error-messages="getErrors('name')"
@input="$v.form.name.$touch()"
@blur="$v.form.name.$touch()"
- >
+ />
@@ -41,7 +41,7 @@
:path.sync="form.path"
confirm-text="Choose"
dialog-title="Library's root folder"
- >
+ />
+ />
Browse
@@ -61,7 +61,7 @@
-
+
Cancel
{{ confirmText }}
@@ -135,10 +135,9 @@ export default Vue.extend({
this.snackbar = true
},
dialogCancel () {
- this.$router.push({ name: 'home' })
+ this.$router.back()
},
dialogConfirm () {
- // this.$router.push({ name: 'home' })
this.addLibrary()
},
validateLibrary () {