Editions
{tableContent}
+ {haveRelationshipId &&
}
+ {message.type &&
+
+ {message.text}
+ }
);
}
@@ -181,6 +218,7 @@ EditionTable.propTypes = {
editions: PropTypes.array.isRequired,
entity: PropTypes.object,
onToggleRow: PropTypes.func,
+ relationshipTypeId: PropTypes.number,
selectedEntities: PropTypes.array,
showAdd: PropTypes.bool,
showAddedAtColumn: PropTypes.bool,
@@ -189,6 +227,7 @@ EditionTable.propTypes = {
EditionTable.defaultProps = {
entity: null,
onToggleRow: null,
+ relationshipTypeId: null,
selectedEntities: [],
showAdd: true,
showAddedAtColumn: false,
diff --git a/src/client/components/pages/entities/edition.js b/src/client/components/pages/entities/edition.js
index 2ebf26a6f5..5e4871f035 100644
--- a/src/client/components/pages/entities/edition.js
+++ b/src/client/components/pages/entities/edition.js
@@ -150,6 +150,7 @@ function EditionDisplayPage({entity, identifierTypes, user}) {