Skip to content

Commit

Permalink
filter out type (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abby George authored Jan 23, 2019
1 parent f8210e7 commit 60be66d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Submission/MapDataModel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class MapDataModel extends React.Component {
const map = {};
if (this.state.nodeType) {
props = this.props.dictionary[this.state.nodeType].required.filter(prop => prop !== 'submitter_id' &&
prop !== 'file_size' && prop !== 'file_name' && prop !== 'md5sum' &&
prop !== 'file_size' && prop !== 'file_name' && prop !== 'md5sum' && prop !== 'type' &&
!this.props.dictionary[this.state.nodeType].systemProperties.includes(prop) &&
!Object.keys(this.state.parentTypesOfSelectedNode)
.map(key => this.state.parentTypesOfSelectedNode[key].name).includes(prop));
Expand Down

0 comments on commit 60be66d

Please sign in to comment.