mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-26 15:33:35 +00:00
Update search text when clicking on suggestion
This commit is contained in:
parent
2733d19856
commit
dc8d061b61
@ -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 New Issue
Block a user