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!
Ver código fonte

Minor lifecycle fix in WBJsonViewer.

master
Stanislaw Adaszewski 4 anos atrás
pai
commit
86f221579c
1 arquivos alterados com 6 adições e 0 exclusões
  1. +6
    -0
      frontend/src/js/component/wb-json-viewer.js

+ 6
- 0
frontend/src/js/component/wb-json-viewer.js Ver arquivo

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


Carregando…
Cancelar
Salvar