mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-25 15:07:21 +00:00
Update search text when clicking on suggestion
This commit is contained in:
parent
2733d19856
commit
dc8d061b61
@ -1,7 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="suggestions-container absolute">
|
<div class="suggestions-container absolute">
|
||||||
<ul>
|
<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
|
<router-link
|
||||||
class="suggestion"
|
class="suggestion"
|
||||||
:class="{ 'suggestion-selected': selected === i }"
|
:class="{ 'suggestion-selected': selected === i }"
|
||||||
|
Loading…
Reference in New Issue
Block a user