Commit 0d322455 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed linting.

parent b671b294
Pipeline #76174 passed with stages
in 21 minutes and 40 seconds
......@@ -155,9 +155,9 @@ export default function SearchBar() {
return true
}
const matches = option.value
&& inputOption.inputValue
&& option.value.toLowerCase().includes(inputOption.inputValue.toLowerCase())
const matches = option.value &&
inputOption.inputValue &&
option.value.toLowerCase().includes(inputOption.inputValue.toLowerCase())
if (matches) {
if (option.value === inputOption.inputValue) {
inputOption.exists |= true
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment