|
@@ -99,7 +99,7 @@ class WBProcessView extends Component { |
|
|
|
|
|
|
|
|
componentWillReceiveProps(nextProps) {
|
|
|
componentWillReceiveProps(nextProps) {
|
|
|
this.props = nextProps;
|
|
|
this.props = nextProps;
|
|
|
// this.setState({ 'objectUrls': [], 'request': null, 'container': null });
|
|
|
|
|
|
|
|
|
this.setState({ 'objectUrls': [], 'request': null, 'container': null });
|
|
|
this.fetchData();
|
|
|
this.fetchData();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
@@ -120,15 +120,14 @@ class WBProcessView extends Component { |
|
|
<h2>Container Request Fields</h2>
|
|
|
<h2>Container Request Fields</h2>
|
|
|
<WBContainerRequestFields app={ app } uuid={ uuid } />
|
|
|
<WBContainerRequestFields app={ app } uuid={ uuid } />
|
|
|
|
|
|
|
|
|
{ container ? ([
|
|
|
|
|
|
<h2>Children</h2>,
|
|
|
|
|
|
<WBProcessListing app={ app }
|
|
|
|
|
|
appState={ app.state }
|
|
|
|
|
|
requestingContainerUuid={ container.uuid }
|
|
|
|
|
|
itemsPerPage="20"
|
|
|
|
|
|
activePage={ Number(page || 0) }
|
|
|
|
|
|
getPageUrl={ page => this.getUrl({ page }) } />
|
|
|
|
|
|
]) : null }
|
|
|
|
|
|
|
|
|
<h2>Children</h2>
|
|
|
|
|
|
<WBProcessListing app={ app }
|
|
|
|
|
|
appState={ app.state }
|
|
|
|
|
|
requestingContainerUuid={ container ? container.uuid : null }
|
|
|
|
|
|
waitForNextProps={ !container }
|
|
|
|
|
|
itemsPerPage="20"
|
|
|
|
|
|
activePage={ Number(page || 0) }
|
|
|
|
|
|
getPageUrl={ page => this.getUrl({ page }) } />
|
|
|
|
|
|
|
|
|
<div>
|
|
|
<div>
|
|
|
<a href="/browse">Click here</a>
|
|
|
<a href="/browse">Click here</a>
|
|
|