mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-02 00:54:30 +02:00
Fix Book/Podcast Search
This commit is contained in:
parent
f974fc6e54
commit
25bccdfce6
1 changed files with 4 additions and 4 deletions
|
@ -12,8 +12,8 @@
|
|||
</div>
|
||||
<p v-if="bookResults.length" class="font-semibold text-sm mb-1">Books</p>
|
||||
<template v-for="item in bookResults">
|
||||
<div :key="item.id" class="w-full h-16 py-1">
|
||||
<nuxt-link :to="`/item/${item.id}`">
|
||||
<div :key="item.libraryItem.id" class="w-full h-16 py-1">
|
||||
<nuxt-link :to="`/item/${item.libraryItem.id}`">
|
||||
<cards-item-search-card :library-item="item.libraryItem" :match-key="item.matchKey" :match-text="item.matchText" :search="lastSearch" />
|
||||
</nuxt-link>
|
||||
</div>
|
||||
|
@ -21,8 +21,8 @@
|
|||
|
||||
<p v-if="podcastResults.length" class="uppercase text-xs text-gray-400 my-1 px-1 font-semibold">Podcasts</p>
|
||||
<template v-for="item in podcastResults">
|
||||
<div :key="item.id" class="text-gray-50 select-none relative cursor-pointer hover:bg-black-400 py-1">
|
||||
<nuxt-link :to="`/item/${item.id}`">
|
||||
<div :key="item.libraryItem.id" class="text-gray-50 select-none relative cursor-pointer hover:bg-black-400 py-1">
|
||||
<nuxt-link :to="`/item/${item.libraryItem.id}`">
|
||||
<cards-item-search-card :library-item="item.libraryItem" :match-key="item.matchKey" :match-text="item.matchText" :search="lastSearch" />
|
||||
</nuxt-link>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue