mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
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:
parent
8dff7496c0
commit
fced9ce435
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user