Added feedback via loading spinner when searching a remote library

This commit is contained in:
Eliot Berriot 2019-10-15 12:11:53 +02:00
parent c8218c8007
commit 777d6696aa
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
3 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
Added feedback via loading spinner when searching a remote library

View File

@ -142,7 +142,7 @@ export default {
library: {type: Object, required: true},
displayFollow: {type: Boolean, default: true},
displayScan: {type: Boolean, default: true},
displayCopyFid: {type: Boolean, default: false},
displayCopyFid: {type: Boolean, default: true},
},
data () {
return {

View File

@ -10,7 +10,7 @@
<label><translate translate-context="Content/Library/Input.Label/Verb">Search a remote library</translate></label>
<div :class="['ui', 'action', {loading: isLoading}, 'input']">
<input name="url" v-model="query" :placeholder="labels.placeholder" type="url">
<button type="submit" class="ui icon button">
<button type="submit" :class="['ui', 'icon', {loading: isLoading}, 'button']">
<i class="search icon"></i>
</button>
</div>