diff --git a/resources/i18n/pt.json b/resources/i18n/pt.json index 18c896663..b70b4d839 100644 --- a/resources/i18n/pt.json +++ b/resources/i18n/pt.json @@ -8,6 +8,7 @@ "duration": "Duração", "trackNumber": "#", "playCount": "Execuções", + "playDate": "Últ. Execução", "title": "Título", "artist": "Artista", "album": "Álbum", diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json index aef6d4284..41aedffae 100644 --- a/ui/src/i18n/en.json +++ b/ui/src/i18n/en.json @@ -8,6 +8,7 @@ "duration": "Time", "trackNumber": "#", "playCount": "Plays", + "playDate": "Last Played", "title": "Title", "artist": "Artist", "album": "Album", diff --git a/ui/src/song/SongList.js b/ui/src/song/SongList.js index 0a6e179af..246e0049a 100644 --- a/ui/src/song/SongList.js +++ b/ui/src/song/SongList.js @@ -1,5 +1,6 @@ import React from 'react' import { + DateField, Filter, FunctionField, NumberField, @@ -94,6 +95,7 @@ const SongList = (props) => { playCount: isDesktop && ( ), + playDate: , year: isDesktop && ( { const columns = useSelectedFields({ resource: 'song', columns: toggleableFields, - defaultOff: ['bpm'], + defaultOff: ['bpm', 'playDate'], }) return (