refactor(search): display library name when item is in multiple
This commit is contained in:
parent
1a77470a99
commit
5b931eedc4
|
@ -76,7 +76,7 @@
|
|||
|
||||
<v-list-item-content>
|
||||
<v-list-item-title> {{ getTitle(item) }} </v-list-item-title>
|
||||
<v-list-item-subtitle> {{ getSecondaryTitle(item) }} </v-list-item-subtitle>
|
||||
<v-list-item-subtitle> {{ getItemSecondaryTitle(item) }} </v-list-item-subtitle>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
</template>
|
||||
|
@ -159,6 +159,10 @@ export default {
|
|||
'SEARCH_PLEX_SERVER_HUB',
|
||||
]),
|
||||
|
||||
getItemSecondaryTitle(item) {
|
||||
return item.reasonTitle || this.getSecondaryTitle(item);
|
||||
},
|
||||
|
||||
getItemThumb({ type, thumb, grandparentThumb }) {
|
||||
switch (type) {
|
||||
case 'movie':
|
||||
|
|
Loading…
Reference in New Issue