From 7a8c336e0da56e45dd8c6a6934cde23b100db77b Mon Sep 17 00:00:00 2001 From: Eliot Berriot <contact@eliotberriot.com> Date: Tue, 29 May 2018 23:24:05 +0200 Subject: [PATCH] Fix #225: Display proper total number of tracks on radio detail --- changes/changelog.d/225.bugfix | 1 + front/src/views/radios/Detail.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/changelog.d/225.bugfix diff --git a/changes/changelog.d/225.bugfix b/changes/changelog.d/225.bugfix new file mode 100644 index 0000000000..d14c7b9a52 --- /dev/null +++ b/changes/changelog.d/225.bugfix @@ -0,0 +1 @@ +Display proper total number of tracks on radio detail (#225) diff --git a/front/src/views/radios/Detail.vue b/front/src/views/radios/Detail.vue index b3b500cf61..26d8a4d83c 100644 --- a/front/src/views/radios/Detail.vue +++ b/front/src/views/radios/Detail.vue @@ -10,7 +10,7 @@ <div class="content"> {{ radio.name }} <div class="sub header"> - Radio containing {{ tracks.length }} tracks, + Radio containing {{ totalTracks }} tracks, by <username :username="radio.user.username"></username> </div> </div> -- GitLab