Merge pull request #2078 from Human-Connection/fix-2042-back-link

Fix #2042 Back Link To Login Page
This commit is contained in:
mattwr18 2019-11-18 15:59:12 +01:00 committed by GitHub
commit db86d248a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,7 @@ const localVue = createLocalVue()
localVue.use(Styleguide)
config.stubs['sweetalert-icon'] = '<span><slot /></span>'
config.stubs['nuxt-link'] = '<span><slot /></span>'
describe('Signup', () => {
let wrapper

View File

@ -56,6 +56,9 @@
<sweetalert-icon icon="error" />
</transition>
<ds-text align="center">{{ error.message }}</ds-text>
<ds-space centered class="space-top">
<nuxt-link to="/login">{{ $t('site.back-to-login') }}</nuxt-link>
</ds-space>
</template>
</div>
</template>
@ -149,3 +152,8 @@ export default {
},
}
</script>
<style>
.space-top {
margin-top: 6ex;
}
</style>