diff --git a/src/Pim/index.tsx b/src/Pim/index.tsx index 6c79709..32fe2f9 100644 --- a/src/Pim/index.tsx +++ b/src/Pim/index.tsx @@ -247,6 +247,10 @@ const CollectionRoutes = withStyles(styles)(withRouter( if (this.itemUndefined(itemUid)) { return PageNotFound(); } + const journalUid = (props.items[itemUid] as any).journalUid; + const syncJournal = this.props.syncInfo.get(journalUid)!; + const readOnly = syncJournal.journal.readOnly; + return (
@@ -266,7 +270,7 @@ const CollectionRoutes = withStyles(styles)(withRouter(