Add Date Added column in Album and Song lists (#2055)

This commit is contained in:
Kendall Garner
2022-12-23 03:44:07 +00:00
committed by GitHub
parent db6e8e45b7
commit 55b0227494
4 changed files with 23 additions and 11 deletions
+13 -8
View File
@@ -94,14 +94,19 @@ const AlbumList = (props) => {
// Workaround to force album columns to appear the first time.
// See https://github.com/navidrome/navidrome/pull/923#issuecomment-833004842
// TODO: Find a better solution
useSetToggleableFields('album', [
'artist',
'songCount',
'playCount',
'year',
'duration',
'rating',
])
useSetToggleableFields(
'album',
[
'artist',
'songCount',
'playCount',
'year',
'duration',
'rating',
'createdAt',
],
['createdAt']
)
// If it does not have filter/sort params (usually coming from Menu),
// reload with correct filter/sort params