small tweaks and fixes

This commit is contained in:
vabene1111 2021-08-22 14:18:46 +02:00
parent d744da2c3d
commit 4a1a45032e
3 changed files with 5 additions and 5 deletions

View File

@ -10440,13 +10440,13 @@ footer a:hover {
background-color: transparent !important; background-color: transparent !important;
} }
textarea, input:not([type="submit"]):not([class="multiselect__input"]):not([class="select2-search__field"]), select { textarea, input:not([type="submit"]):not([class="multiselect__input"]):not([class="select2-search__field"]):not([class="vue-treeselect__input"]), select {
background-color: white !important; background-color: white !important;
border-radius: .25rem !important; border-radius: .25rem !important;
border: 1px solid #ced4da !important; border: 1px solid #ced4da !important;
} }
.multiselect__tag, .multiselect__option--highlight, .multiselect__option--highlight:after { .multiselect__tag, .multiselect__option--highlight, .multiselect__option--highlight:after, .vue-treeselect__multi-value-item {
background-color: #cfd5cd !important; background-color: #cfd5cd !important;
color: #212529 !important; color: #212529 !important;
} }
@ -10455,7 +10455,7 @@ textarea, input:not([type="submit"]):not([class="multiselect__input"]):not([clas
background-color: #a7240e !important; background-color: #a7240e !important;
} }
.multiselect__tag-icon:after { .multiselect__tag-icon:after, .vue-treeselect__icon vue-treeselect__value-remove, .vue-treeselect__value-remove {
color: #212529 !important color: #212529 !important
} }

View File

@ -356,7 +356,7 @@ export default {
this.settings.search_keywords = [] this.settings.search_keywords = []
for (let x of urlParams.getAll('keyword')) { for (let x of urlParams.getAll('keyword')) {
let keyword = {id: x, name: 'loading'} let keyword = {id: x, name: 'loading'}
this.settings.search_keywords.push(keyword) this.settings.search_keywords.push(keyword.id)
apiClient.retrieveKeyword(x).then(result => { apiClient.retrieveKeyword(x).then(result => {
this.$set(this.settings.search_keywords, this.settings.search_keywords.indexOf(keyword), result.data) this.$set(this.settings.search_keywords, this.settings.search_keywords.indexOf(keyword), result.data)
}) })

View File

@ -69,7 +69,7 @@ export default {
this.objects = this.sticky_options.concat(result.data.results) this.objects = this.sticky_options.concat(result.data.results)
}) })
} else { } else {
apiClient[this.search_function]({query: {query: query, limit: 10}}).then(result => { apiClient[this.search_function]({query: {query: query, limit: this.limit}}).then(result => {
this.objects = this.sticky_options.concat(result.data) this.objects = this.sticky_options.concat(result.data)
}) })
} }