Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit b0fb179

Browse files
committed
Load search tab lazy
Signed-off-by: Sahil Gupte <[email protected]>
1 parent 9c07690 commit b0fb179

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mainWindow/pages/search/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="w-100 h-100 tab-outer-container">
1212
<b-tabs content-class="mt-3 tab-inner-container" justified class="h-100">
1313
<div v-for="i in items" :key="i.key">
14-
<b-tab v-if="showTab(i.tab)" :title="i.tab" :id="i.tab">
14+
<b-tab lazy v-if="showTab(i.tab)" :title="i.tab" :id="i.tab">
1515
<RecycleScroller
1616
class="scroller"
1717
:items="ComputeTabContent(i.tab)"
@@ -232,7 +232,7 @@ export default class SearchPage extends mixins(RouterPushes, ContextMenuMixin, I
232232
case 'Spotify':
233233
case 'Youtube':
234234
case 'Songs':
235-
return (item as Song).artists?.join(', ')
235+
return (item as Song).artists?.map((val) => val.artist_name).join(', ')
236236
case 'Albums':
237237
return `${(item as Album).album_song_count} Songs`
238238
case 'Artists':

0 commit comments

Comments
 (0)