Merge pull request #2827 from brkcvn/search

Exception fixed from search
This commit is contained in:
Burak Civan 2022-12-15 14:26:36 +03:00 committed by GitHub
commit 0aa98da963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -304,7 +304,7 @@ export default {
onInput(evt) {
this.search = evt.target.value;
let option_url = this.selected_options.length > 0 ? this.selected_options[this.filter_index].url : '';
let option_url = this.selected_options.length > 0 && this.selected_options[this.filter_index] !== undefined ? this.selected_options[this.filter_index].url : '';
if (this.search) {
if (option_url.indexOf('?') === -1) {