From b1b8c1c9262a5c2e44e1bbcd7d9e68b0bde78824 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 8 Nov 2024 14:25:37 -0800 Subject: [PATCH] fix:   --- workers/dynamic-pages/utils/generators.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers/dynamic-pages/utils/generators.js b/workers/dynamic-pages/utils/generators.js index f7fe31a6..dbc860dc 100644 --- a/workers/dynamic-pages/utils/generators.js +++ b/workers/dynamic-pages/utils/generators.js @@ -145,7 +145,7 @@ const generateAssociatedMediaHTML = (data, isGenre = false) => { const year = item.year ? ` (${item.year})` : ""; const author = item.author ? ` by ${item.author}` : ""; const totalPlays = item.total_plays - ? ` ${item.total_plays} ${ + ? ` ${item.total_plays} ${ item.total_plays === 1 ? "play" : "plays" }` : "";