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!
Quellcode durchsuchen

Minor lifecycle fix in WBJsonViewer.

pull/1/head
Stanislaw Adaszewski vor 4 Jahren
Ursprung
Commit
86f221579c
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. +6
    -0
      frontend/src/js/component/wb-json-viewer.js

+ 6
- 0
frontend/src/js/component/wb-json-viewer.js Datei anzeigen

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


Laden…
Abbrechen
Speichern