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:
Jay R. Wren
2020-10-12 11:10:07 -04:00
committed by GitHub
parent c60e56828b
commit fd6edf967f
6 changed files with 39 additions and 4 deletions
+2
View File
@@ -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>
)