diff --git a/src/views/Home.vue b/src/views/Home.vue index 09918998ecf..b85a54d263b 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -29,13 +29,6 @@ - - {{ $t('ProofCreate.Success') }} - { - this.$router.push({ path: '/', query: { proofSingleSuccess: 'true' } }) + this.done() }) .catch(err => { this.$store.app.showError(err) @@ -173,6 +173,9 @@ export default { .finally(() => { this.loading = false }) + }, + done() { + this.$router.push({ path: '/dashboard', query: { proofSingleSuccess: 'true' } }) } } } diff --git a/src/views/UserDashboard.vue b/src/views/UserDashboard.vue index e4203421032..6ef048e9957 100644 --- a/src/views/UserDashboard.vue +++ b/src/views/UserDashboard.vue @@ -43,6 +43,13 @@ > {{ $t('Common.Thanks') }} + + {{ $t('ProofCreate.Success') }} +