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!
Pārlūkot izejas kodu

Minor lifecycle fix in WBJsonViewer.

master
Stanislaw Adaszewski pirms 4 gadiem
vecāks
revīzija
86f221579c
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. +6
    -0
      frontend/src/js/component/wb-json-viewer.js

+ 6
- 0
frontend/src/js/component/wb-json-viewer.js Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt