Skip to content

Commit

Permalink
[FIX] ref #260 revert and fix the previously broken creation organisa…
Browse files Browse the repository at this point in the history
…tion modal
  • Loading branch information
MLE-Astek committed Dec 4, 2015
1 parent e43e957 commit 89306ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ var Tab2 = React.createClass({
var taxRegNumLabels = this.getTaxRegLabels();
var tax_reg_activity_uri_placeholder = !this.state.DCOrganization.tax_reg_activity_uri ? ' '
: this.state.DCOrganization.tax_reg_activity_uri.substring(this.state.DCOrganization.tax_reg_activity_uri.lastIndexOf("/") + 1);
var not_admin = !this.props.org.admin;
var not_admin = this.props.org ? !this.props.org.admin : false;

return (
<div id="tab2" className={className}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ var MyNetwork = React.createClass({
return (
<div>
<SearchOrganizationModal ref="searchOrgDialog" successHandler={this.openCreateOrgDialog} />
<CreateOrModifyOrganizationModal ref="createOrgDialog" successHandler={this.reload} />
<SearchOrCreateHeader showDialog={this.openSearchOrgDialog}/>
<OrganizationsList ref="orgs"/>
</div>
Expand Down

0 comments on commit 89306ba

Please sign in to comment.