Add Size column to Artist and Album views
This commit is contained in:
@@ -103,9 +103,10 @@ const AlbumList = (props) => {
|
||||
'year',
|
||||
'duration',
|
||||
'rating',
|
||||
'size',
|
||||
'createdAt',
|
||||
],
|
||||
['createdAt']
|
||||
['createdAt', 'size']
|
||||
)
|
||||
|
||||
// If it does not have filter/sort params (usually coming from Menu),
|
||||
|
||||
@@ -19,6 +19,7 @@ import {
|
||||
AlbumContextMenu,
|
||||
RatingField,
|
||||
useSelectedFields,
|
||||
SizeField,
|
||||
} from '../common'
|
||||
import config from '../config'
|
||||
import { DraggableTypes } from '../consts'
|
||||
@@ -95,6 +96,7 @@ const AlbumTableView = ({
|
||||
<RangeField source={'year'} sortBy={'max_year'} sortByOrder={'DESC'} />
|
||||
),
|
||||
duration: isDesktop && <DurationField source="duration" />,
|
||||
size: isDesktop && <SizeField source="size" />,
|
||||
rating: config.enableStarRating && (
|
||||
<RatingField
|
||||
source={'rating'}
|
||||
|
||||
Reference in New Issue
Block a user