Added feedback via loading spinner when searching a remote library
This commit is contained in:
parent
c8218c8007
commit
777d6696aa
|
@ -0,0 +1 @@
|
||||||
|
Added feedback via loading spinner when searching a remote library
|
|
@ -142,7 +142,7 @@ export default {
|
||||||
library: {type: Object, required: true},
|
library: {type: Object, required: true},
|
||||||
displayFollow: {type: Boolean, default: true},
|
displayFollow: {type: Boolean, default: true},
|
||||||
displayScan: {type: Boolean, default: true},
|
displayScan: {type: Boolean, default: true},
|
||||||
displayCopyFid: {type: Boolean, default: false},
|
displayCopyFid: {type: Boolean, default: true},
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<label><translate translate-context="Content/Library/Input.Label/Verb">Search a remote library</translate></label>
|
<label><translate translate-context="Content/Library/Input.Label/Verb">Search a remote library</translate></label>
|
||||||
<div :class="['ui', 'action', {loading: isLoading}, 'input']">
|
<div :class="['ui', 'action', {loading: isLoading}, 'input']">
|
||||||
<input name="url" v-model="query" :placeholder="labels.placeholder" type="url">
|
<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>
|
<i class="search icon"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue