Add size to album details (#561)
* add size to album details for #534 * addressing review comments: * create index album(size) * remove unneeded Size field from refresh struct * add whitespace to album details * add size to album list view * prettier
This commit is contained in:
@@ -17,6 +17,7 @@ import {
|
||||
DurationField,
|
||||
RangeField,
|
||||
SimpleList,
|
||||
SizeField,
|
||||
} from '../common'
|
||||
import { AlbumContextMenu } from '../common'
|
||||
import { makeStyles } from '@material-ui/core/styles'
|
||||
@@ -37,6 +38,7 @@ const AlbumDetails = (props) => {
|
||||
<TextField source="genre" />
|
||||
<BooleanField source="compilation" />
|
||||
<DateField source="updatedAt" showTime />
|
||||
<SizeField source="size" />
|
||||
</SimpleShowLayout>
|
||||
</Show>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user