1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Hot fix to show edition even if not logged on

This commit is contained in:
Brett Sun 2015-12-14 17:00:04 +01:00
parent 8aae923388
commit cef2785438

View File

@ -91,7 +91,7 @@ let EditionContainer = React.createClass({
const { edition, currentUser, coaMeta } = this.state;
const { actionPanelButtonListType, furtherDetailsType } = this.props;
if (Object.keys(edition).length && edition.id && currentUser && currentUser.email) {
if (Object.keys(edition).length && edition.id) {
setDocumentTitle([edition.artist_name, edition.title].join(', '));
return (