mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Apply suggestions from code review
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
parent
f94d1e8680
commit
605c3f7614
@ -23,9 +23,6 @@ export default {
|
||||
fullPage: true,
|
||||
}
|
||||
},
|
||||
props: {
|
||||
isLoading: { type: Boolean, default: false },
|
||||
},
|
||||
components: {
|
||||
Loading,
|
||||
ContentFooter,
|
||||
|
||||
@ -67,7 +67,7 @@
|
||||
</b-alert>
|
||||
|
||||
<!-- <b-form-checkbox v-model="model.rememberMe">{{ $t('site.login.remember')}}</b-form-checkbox> -->
|
||||
<div class="text-center" ref="formContainer">
|
||||
<div class="text-center" ref="submitButton">
|
||||
<base-button type="secondary" native-type="submit" class="my-4">
|
||||
{{ $t('site.login.signin') }}
|
||||
</base-button>
|
||||
@ -112,7 +112,7 @@ export default {
|
||||
async onSubmit() {
|
||||
let loader = this.$loading.show({
|
||||
// Optional parameters
|
||||
container: this.$refs.formContainer,
|
||||
container: this.$refs.submitButton,
|
||||
})
|
||||
|
||||
const result = await loginAPI.login(this.model.email, this.model.password)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user