Slight UX improvement on library scan form
This commit is contained in:
parent
233ac870be
commit
bb1d5e4cbc
|
@ -34,6 +34,8 @@ export default {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let self = this
|
let self = this
|
||||||
|
self.errors = []
|
||||||
|
self.isLoading = true
|
||||||
axios.post('federation/libraries/fetch/', {fid: this.query}).then((response) => {
|
axios.post('federation/libraries/fetch/', {fid: this.query}).then((response) => {
|
||||||
self.$emit('scanned', response.data)
|
self.$emit('scanned', response.data)
|
||||||
self.isLoading = false
|
self.isLoading = false
|
||||||
|
|
Loading…
Reference in New Issue