From 858d6b31c84d0ef21b7777fee4b5499568ece462 Mon Sep 17 00:00:00 2001 From: lesion Date: Mon, 18 Oct 2021 15:45:16 +0200 Subject: [PATCH] minor --- pages/setup/Completed.vue | 3 +-- pages/setup/DbStep.vue | 2 +- plugins/validators.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pages/setup/Completed.vue b/pages/setup/Completed.vue index 9c49e402..ec969fd3 100644 --- a/pages/setup/Completed.vue +++ b/pages/setup/Completed.vue @@ -21,7 +21,7 @@ export default { }, methods: { next () { - window.location='/' + window.location='/admin' }, async start (user) { this.user = { ...user } @@ -29,7 +29,6 @@ export default { try { await this.$axios.$get('/ping') - // window.location='/' this.loading = false } catch (e) { setTimeout(() => this.start(user), 1000) diff --git a/pages/setup/DbStep.vue b/pages/setup/DbStep.vue index e0a8f990..f8ec84d4 100644 --- a/pages/setup/DbStep.vue +++ b/pages/setup/DbStep.vue @@ -15,7 +15,7 @@ v-text-field(type='password' v-model='db.password' label='Password' :rules="[$validators.required('password')]") v-card-actions - v-btn(text @click='checkDb' color='primary' :loading='loading' :disabled='loading') {{$t('setup.check_db')}} + v-btn(text @click='checkDb' color='primary' :loading='loading' :disabled='loading') {{$t('common.next')}} v-icon mdi-arrow-right