Commit 099bc462 authored by Janis Streib's avatar Janis Streib 🦉
Browse files

UPD: trim search

parent 15fb8180
Pipeline #117543 passed with stages
in 4 minutes and 53 seconds
......@@ -311,7 +311,7 @@ export default {
this.last_search = this.search_input
this.search_res = []
this.descriminator = this.getSearchDiscriminator()
const term = this.cutDescriminator()
const term = this.cutDescriminator().trim()
const termIsIP = ipaddress.isValid(term.split('/')[0])
if (this.descriminator == null) { // Nur is_own, ohne regex
if (termIsIP) {
......
Markdown is supported
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