Display order documents in order details page #27

Merged
bilal.catic merged 5 commits from frontend-show-order-docuemnts into master 2018-10-03 20:46:28 +02:00
Showing only changes of commit 174517a161 - Show all commits

View File

@@ -140,9 +140,6 @@ class ProcessContainer extends Component {
}
onViewChange(activeView){
if(activeView === 'documents'){
this.props.dispatch(fetchOrderInfo(this.props.idOrder));
}
this.setState({activeView});
}
@@ -232,7 +229,7 @@ class ProcessContainer extends Component {
{
this.state.activeView === 'documents' &&
<OrderDocuments idOrder={orderInfo.id} />
<OrderDocuments orderDocumentsBundle={orderInfo.documents} />
}
</div>
}