console error fixed
This commit is contained in:
parent
5599b41fd3
commit
8b357dfb01
@ -304,7 +304,7 @@ export default {
|
|||||||
onInput(evt) {
|
onInput(evt) {
|
||||||
this.search = evt.target.value;
|
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 (this.search) {
|
||||||
if (option_url.indexOf('?') === -1) {
|
if (option_url.indexOf('?') === -1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user