Apply suggestions from code review

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
Alexander Friedland 2021-04-28 13:13:18 +02:00 committed by GitHub
parent f94d1e8680
commit 605c3f7614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -23,9 +23,6 @@ export default {
fullPage: true,
}
},
props: {
isLoading: { type: Boolean, default: false },
},
components: {
Loading,
ContentFooter,

View File

@ -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)