|
|
@ -157,6 +157,7 @@ const CollectionRoutes = withStyles(styles)(withRouter(
|
|
|
|
render={() => (
|
|
|
|
render={() => (
|
|
|
|
<Container style={{ maxWidth: '30rem' }}>
|
|
|
|
<Container style={{ maxWidth: '30rem' }}>
|
|
|
|
<ComponentEdit
|
|
|
|
<ComponentEdit
|
|
|
|
|
|
|
|
key={props.routePrefix}
|
|
|
|
collections={props.collections}
|
|
|
|
collections={props.collections}
|
|
|
|
onSave={props.onItemSave}
|
|
|
|
onSave={props.onItemSave}
|
|
|
|
onCancel={props.onItemCancel}
|
|
|
|
onCancel={props.onItemCancel}
|
|
|
@ -177,6 +178,7 @@ const CollectionRoutes = withStyles(styles)(withRouter(
|
|
|
|
<Container style={{ maxWidth: '30rem' }}>
|
|
|
|
<Container style={{ maxWidth: '30rem' }}>
|
|
|
|
{(itemUid in props.items) &&
|
|
|
|
{(itemUid in props.items) &&
|
|
|
|
<ComponentEdit
|
|
|
|
<ComponentEdit
|
|
|
|
|
|
|
|
key={(props.items[itemUid] as any).journalUid}
|
|
|
|
initialCollection={(props.items[itemUid] as any).journalUid}
|
|
|
|
initialCollection={(props.items[itemUid] as any).journalUid}
|
|
|
|
item={props.items[itemUid]}
|
|
|
|
item={props.items[itemUid]}
|
|
|
|
collections={props.collections}
|
|
|
|
collections={props.collections}
|
|
|
@ -203,6 +205,7 @@ const CollectionRoutes = withStyles(styles)(withRouter(
|
|
|
|
<Container style={{ maxWidth: '30rem' }}>
|
|
|
|
<Container style={{ maxWidth: '30rem' }}>
|
|
|
|
{(itemUid in props.items) &&
|
|
|
|
{(itemUid in props.items) &&
|
|
|
|
<ComponentEdit
|
|
|
|
<ComponentEdit
|
|
|
|
|
|
|
|
key={(props.items[itemUid] as any).journalUid}
|
|
|
|
initialCollection={(props.items[itemUid] as any).journalUid}
|
|
|
|
initialCollection={(props.items[itemUid] as any).journalUid}
|
|
|
|
item={props.items[itemUid]}
|
|
|
|
item={props.items[itemUid]}
|
|
|
|
collections={props.collections}
|
|
|
|
collections={props.collections}
|
|
|
|