Hide charts tracklist on load

This commit is contained in:
RemixDev 2022-01-04 23:16:14 +01:00
parent 91fc114cd3
commit f306332d65

View File

@ -12,7 +12,9 @@
:data-title="release.title"
class="w-40 h-40 release clickable"
role="button"
tabindex="0"
@click="getTrackList"
@keyup.enter="getTrackList"
>
<img :src="release.picture_medium" class="w-full rounded coverart" :alt="release.title" />
</div>
@ -118,6 +120,7 @@ export default {
const isActualChart = newId !== 0
if (isActualChart) {
this.setTracklist([])
getChartTracks(newId).then(response => this.setTracklist(response.data))
}
}