diff --git a/frontend/src/js/component/wb-name-and-uuid.js b/frontend/src/js/component/wb-name-and-uuid.js
index 732df7f..2c45b57 100644
--- a/frontend/src/js/component/wb-name-and-uuid.js
+++ b/frontend/src/js/component/wb-name-and-uuid.js
@@ -76,17 +76,26 @@ class WBNameAndUuid extends Component {
}
componentDidMount() {
- this.fetchData();
+ if (this.props.lazy)
+ ;//this.setState({ item: { uuid: this.props.uuid }});
+ else
+ this.fetchData();
}
componentWillReceiveProps(nextProps) {
- if (this.props.uuid !== nextProps.uuid) {
+ if (this.props.uuid === nextProps.uuid)
+ return;
+
+ if (nextProps.lazy) {
+ this.setState({ item: { uuid: nextProps.uuid }});
+
+ } else {
this.props = nextProps;
this.fetchData();
}
}
- render({ uuid, onLinkClicked }, { error, item }) {
+ render({ uuid, onLinkClicked, lazy }, { error, item }) {
if (!uuid)
return (
{ String(uuid) }
@@ -97,10 +106,14 @@ class WBNameAndUuid extends Component {
);
diff --git a/frontend/src/js/component/wb-process-listing.js b/frontend/src/js/component/wb-process-listing.js
index c2961e6..45e8b8a 100644
--- a/frontend/src/js/component/wb-process-listing.js
+++ b/frontend/src/js/component/wb-process-listing.js
@@ -58,10 +58,10 @@ class WBProcessListing extends Component {
{ item.description } { renderEditDescription(item, () => this.fetchItems()) }
),
- ( ),
- ( ),
+ ( ),
+ ( ),
wbFormatDate(item['created_at']),
- ( ),
+ ( ),
(
);
}