From f306332d65ddaa3c427ade1f77e85dae5ffd7f46 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 4 Jan 2022 23:16:14 +0100 Subject: [PATCH] Hide charts tracklist on load --- src/components/pages/Charts.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/pages/Charts.vue b/src/components/pages/Charts.vue index a0181fe..6842651 100644 --- a/src/components/pages/Charts.vue +++ b/src/components/pages/Charts.vue @@ -12,7 +12,9 @@ :data-title="release.title" class="w-40 h-40 release clickable" role="button" + tabindex="0" @click="getTrackList" + @keyup.enter="getTrackList" > @@ -118,6 +120,7 @@ export default { const isActualChart = newId !== 0 if (isActualChart) { + this.setTracklist([]) getChartTracks(newId).then(response => this.setTracklist(response.data)) } }