Lint + format
This commit is contained in:
@ -21,7 +21,7 @@ export default {
|
||||
data,
|
||||
status,
|
||||
filterTags: '',
|
||||
following,
|
||||
following
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@ -71,7 +71,7 @@ export default {
|
||||
async mounted() {
|
||||
window.onscroll = this.getNextCategory
|
||||
|
||||
this.following = await followersStreaming(getFollows());
|
||||
this.following = await followersStreaming(getFollows())
|
||||
|
||||
// get discover page
|
||||
await getEndpoint('api/discover')
|
||||
@ -115,16 +115,27 @@ export default {
|
||||
<div class="relative">
|
||||
<label for="searchBar" class="hidden">{{ $t('main.search') }}</label>
|
||||
<v-icon name="io-search-outline" class="absolute my-auto inset-y-0 left-2"></v-icon>
|
||||
<input type="text" id="searchBar" name="searchBar" :placeholder="$t('main.search')" v-model="filterTags"
|
||||
@keypress="filterSearches(filterTags)" @keyup="filterSearches(filterTags)"
|
||||
class="rounded-md p-1 pl-8 placeholder:text-white" />
|
||||
<input
|
||||
type="text"
|
||||
id="searchBar"
|
||||
name="searchBar"
|
||||
:placeholder="$t('main.search')"
|
||||
v-model="filterTags"
|
||||
@keypress="filterSearches(filterTags)"
|
||||
@keyup="filterSearches(filterTags)"
|
||||
class="rounded-md p-1 pl-8 placeholder:text-white"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul ref="categoryList" class="flex flex-wrap justify-center">
|
||||
<li v-for="category in data" :key="category.name" ref="categoryItem"
|
||||
class="m-2 hover:scale-105 transition-transform">
|
||||
<li
|
||||
v-for="category in data"
|
||||
:key="category.name"
|
||||
ref="categoryItem"
|
||||
class="m-2 hover:scale-105 transition-transform"
|
||||
>
|
||||
<category-preview :category-data="category"></category-preview>
|
||||
</li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user