From aa3c188509f5a163fa46635f691e422de5cf69dc Mon Sep 17 00:00:00 2001 From: Cevo Date: Wed, 2 Sep 2015 14:02:23 +0200 Subject: [PATCH] contract list add --- js/components/ascribe_detail/edition.js | 1 - .../ascribe_detail/edition_container.js | 3 ++ .../ascribe_settings/contract_settings.js | 31 +++++++++++++++++-- 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/js/components/ascribe_detail/edition.js b/js/components/ascribe_detail/edition.js index 696e5057..49175851 100644 --- a/js/components/ascribe_detail/edition.js +++ b/js/components/ascribe_detail/edition.js @@ -305,7 +305,6 @@ let EditionSummary = React.createClass({
); - } }); diff --git a/js/components/ascribe_detail/edition_container.js b/js/components/ascribe_detail/edition_container.js index 15086434..3be63974 100644 --- a/js/components/ascribe_detail/edition_container.js +++ b/js/components/ascribe_detail/edition_container.js @@ -9,6 +9,8 @@ import Edition from './edition'; import AppConstants from '../../constants/application_constants'; + + /** * This is the component that implements resource/data specific functionality */ @@ -50,6 +52,7 @@ let EditionContainer = React.createClass({ }, render() { + console.log(this.state); if('title' in this.state.edition) { return ( {/* this should be this.props.defaultExpanded */} - + + {this.state.contractList} + + + + ); }