mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2025-02-05 21:18:09 +00:00
Hide charts tracklist on load
This commit is contained in:
parent
91fc114cd3
commit
f306332d65
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue