Skip to content
Snippets Groups Projects
Verified Commit 777d6696 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Added feedback via loading spinner when searching a remote library

parent c8218c80
No related branches found
No related tags found
No related merge requests found
Added feedback via loading spinner when searching a remote library
...@@ -142,7 +142,7 @@ export default { ...@@ -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 @@ ...@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment