Cleanup ItemSearchCard remove unused match properties, add LabelByAuthor string

This commit is contained in:
advplyr
2025-12-16 17:44:34 -06:00
parent d3bd3427e3
commit b2c2b625e3
3 changed files with 10 additions and 46 deletions
+3 -3
View File
@@ -14,7 +14,7 @@
<template v-for="item in bookResults">
<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" />
<cards-item-search-card :library-item="item.libraryItem" :search="lastSearch" />
</nuxt-link>
</div>
</template>
@@ -23,7 +23,7 @@
<template v-for="item in podcastResults">
<div :key="item.libraryItem.id" class="text-fg select-none relative 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" />
<cards-item-search-card :library-item="item.libraryItem" :search="lastSearch" />
</nuxt-link>
</div>
</template>
@@ -160,4 +160,4 @@ export default {
height: calc(100% - 108px);
max-height: calc(100% - 108px);
}
</style>
</style>