refactor: remove ready quickfix in LoginForm

According to the code comments this is a quick fix to avoid a visible
re-arrangement of elements in the browser. To be honest: I would rather
have the visible re-arrangement than this obscure quickfix. Everything
that's visible and annoying will be fixed. Everything we just hide, we
will forget.
This commit is contained in:
roschaefer 2019-10-15 14:19:26 +02:00
parent 8dff7496c0
commit fced9ce435

View File

@ -1,5 +1,5 @@
<template>
<ds-container v-if="ready" width="medium">
<ds-container width="medium">
<ds-space margin="small">
<blockquote>
<p>{{ $t('quotes.african.quote') }}</p>
@ -80,7 +80,6 @@ export default {
},
data() {
return {
ready: false,
form: {
email: '',
password: '',
@ -92,13 +91,6 @@ export default {
return this.$store.getters['auth/pending']
},
},
mounted() {
setTimeout(() => {
// NOTE: quick fix for jumping flexbox implementation
// will be fixed in a future update of the styleguide
this.ready = true
}, 50)
},
methods: {
async onSubmit() {
try {