show album in track list by default

This commit is contained in:
Thomas Amland 2020-08-22 18:34:08 +02:00
parent 23fb0187d0
commit 2356f5dce9
6 changed files with 6 additions and 6 deletions

View File

@ -94,7 +94,7 @@
},
props: {
tracks: { type: Array, required: true },
showAlbum: { type: Boolean, default: false },
showAlbum: { type: Boolean, default: true },
},
computed: {
...mapState('player', {

View File

@ -27,7 +27,7 @@
</div>
<div class="row">
<div class="col">
<TrackList :tracks="album.tracks" />
<TrackList :tracks="album.tracks" :show-album="false" />
</div>
</div>
</div>

View File

@ -15,7 +15,7 @@
</ul>
<template v-if="section === 'tracks'">
<Spinner v-slot="{ data }" :data="tracks">
<TrackList :tracks="data" show-album />
<TrackList :tracks="data" />
</Spinner>
</template>
<template v-else>

View File

@ -8,7 +8,7 @@
</b-dropdown-item-btn>
</OverflowMenu>
</div>
<TrackList :tracks="data.tracks" show-album @remove="remove(index)">
<TrackList :tracks="data.tracks" @remove="remove(index)">
<template v-slot:context-menu="{index}">
<b-dropdown-item-button @click="remove(index)">
Remove

View File

@ -1,6 +1,6 @@
<template>
<div v-if="items">
<TrackList :tracks="items" show-album />
<TrackList :tracks="items" />
<table class="table">
<thead />
<tbody>

View File

@ -12,7 +12,7 @@
<div v-if="result.tracks.length > 0">
<h1>Tracks</h1>
<TrackList :tracks="result.tracks" show-album />
<TrackList :tracks="result.tracks" />
</div>
</div>
</template>