Commit 60fadec3 authored by Janis Streib's avatar Janis Streib 🦉

FIX avoid redundant navigation in search

parent 068abbf8
Pipeline #118704 passed with stages
in 9 minutes and 19 seconds
......@@ -383,7 +383,9 @@ export default {
if (e.ctrlKey) {
window.open(this.$router.resolve(suggestion.url).href, '_blank')
} else {
this.$router.push(suggestion.url)
if (this.$router.currentRoute.path !== suggestion.url) {
this.$router.push(suggestion.url)
}
}
}
if (suggestion.type === 'test') {
......
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