diff --git a/src/components/modals/DetailedTrack.vue b/src/components/modals/DetailedTrack.vue index f7065c9..2e8cb68 100644 --- a/src/components/modals/DetailedTrack.vue +++ b/src/components/modals/DetailedTrack.vue @@ -116,7 +116,7 @@ export default { let parts = this.track.album.release_date.split(`-`); switch (this.track.album.release_date_precision) { case `year`: - return release[0]; + return parts[0]; case `month`: return `${this.months[parts[1]]}, ${parts[0]}` case `day`: