hide "new" on artist report for all time period

This commit is contained in:
cwilvx
2024-10-14 17:48:10 +03:00
parent 6ead0d12df
commit 26df5ba81d
+1 -1
View File
@@ -233,7 +233,7 @@ def get_top_artists(query: ChartItemsQuery):
return {
"artists": response,
"scrobbles": {
"text": f"{new_artists} new artist{'' if new_artists == 1 else 's'} played",
"text": f"{new_artists} {'new' if query.duration != 'alltime' else ''} {ngettext('artist', 'artists', new_artists)}",
"trend": scrobble_trend,
"dates": format_date(start_time, end_time),
},