From d7a98669e875005c70a3ce93755483fb67054725 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 2 Apr 2024 11:07:45 -0300 Subject: content: generateArtistGroupContributionsInfo: fix byCount pass One ByCount passed when ByDuration is needed will, in fact, tear it all down! --- src/content/dependencies/generateArtistGroupContributionsInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/dependencies/generateArtistGroupContributionsInfo.js b/src/content/dependencies/generateArtistGroupContributionsInfo.js index 7669bc48..1725d4b9 100644 --- a/src/content/dependencies/generateArtistGroupContributionsInfo.js +++ b/src/content/dependencies/generateArtistGroupContributionsInfo.js @@ -206,7 +206,7 @@ export default { duration: getDurations( data.groupDurationsSortedByDuration, - data.groupDurationsApproximateSortedByCount), + data.groupDurationsApproximateSortedByDuration), }).map(({group, count, duration}) => html.tag('li', html.tag('div', {class: 'group-contributions-row'}, [ -- cgit 1.3.0-6-gf8a5