Slight UX improvement on library scan form

This commit is contained in:
Eliot Berriot 2019-01-09 17:49:38 +01:00
parent 233ac870be
commit bb1d5e4cbc
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ export default {
return
}
let self = this
self.errors = []
self.isLoading = true
axios.post('federation/libraries/fetch/', {fid: this.query}).then((response) => {
self.$emit('scanned', response.data)
self.isLoading = false