mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Update search text when clicking on suggestion
This commit is contained in:
parent
2733d19856
commit
dc8d061b61
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,12 @@
|
|||
<template>
|
||||
<div class="suggestions-container absolute">
|
||||
<ul>
|
||||
<li v-for="(suggestion, i) in searchSuggestions" :key="i" @mouseover="onMouseOver(i)">
|
||||
<li
|
||||
v-for="(suggestion, i) in searchSuggestions"
|
||||
:key="i"
|
||||
@mouseover="onMouseOver(i)"
|
||||
@click="setSelected(i)"
|
||||
>
|
||||
<router-link
|
||||
class="suggestion"
|
||||
:class="{ 'suggestion-selected': selected === i }"
|
||||
|
|
Loading…
Reference in a new issue