IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Browse Source

Minor lifecycle fix in WBJsonViewer.

pull/1/head
parent
commit
86f221579c
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      frontend/src/js/component/wb-json-viewer.js

+ 6
- 0
frontend/src/js/component/wb-json-viewer.js View File

@@ -5,6 +5,12 @@ import makeArvadosRequest from 'make-arvados-request';
import arvadosObjectName from 'arvados-object-name';
class WBLazyInlineName extends Component {
componentWillReceiveProps(nextProps) {
if (nextProps.identifier === this.props.identifier)
return;
this.setState({ item: null });
}
fetchData() {
const { app, identifier } = this.props;
const { arvHost, arvToken } = app.state;


Loading…
Cancel
Save