From 49153dc1c14a97b1cae1e5e53a0d068c2089d899 Mon Sep 17 00:00:00 2001 From: Deluan Date: Fri, 14 Aug 2020 14:35:00 -0400 Subject: [PATCH] Add playCount to artist list --- resources/i18n/pt.json | 3 ++- ui/src/artist/ArtistList.js | 2 ++ ui/src/i18n/en.json | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/i18n/pt.json b/resources/i18n/pt.json index 1fc487da8..b313d60ed 100644 --- a/resources/i18n/pt.json +++ b/resources/i18n/pt.json @@ -64,7 +64,8 @@ "fields": { "name": "Nome", "albumCount": "Total de Álbuns", - "songCount": "Total de Músicas" + "songCount": "Total de Músicas", + "playCount": "Execuções" } }, "user": { diff --git a/ui/src/artist/ArtistList.js b/ui/src/artist/ArtistList.js index 4f44e98b4..58c7a7a7b 100644 --- a/ui/src/artist/ArtistList.js +++ b/ui/src/artist/ArtistList.js @@ -3,6 +3,7 @@ import { Datagrid, DatagridBody, DatagridRow, + DateField, Filter, NumberField, SearchInput, @@ -85,6 +86,7 @@ const ArtistList = ({ width, ...rest }) => { + )} diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json index 507b66beb..f0e0a03be 100644 --- a/ui/src/i18n/en.json +++ b/ui/src/i18n/en.json @@ -65,7 +65,8 @@ "fields": { "name": "Name", "albumCount": "Album Count", - "songCount": "Song Count" + "songCount": "Song Count", + "playCount": "Plays" } }, "playlist": {