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!
Parcourir la source

Minor lifecycle fix in WBJsonViewer.

pull/1/head
Stanislaw Adaszewski il y a 4 ans
Parent
révision
86f221579c
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. +6
    -0
      frontend/src/js/component/wb-json-viewer.js

+ 6
- 0
frontend/src/js/component/wb-json-viewer.js Voir le fichier

@@ -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;


Chargement…
Annuler
Enregistrer