uncharted-aske / HMI

Apache License 2.0
1 stars 0 forks source link

Bio models do not load when refreshing the bio view #205

Closed YohannParis closed 3 years ago

YohannParis commented 3 years ago

Why

The BGraph and Grafer models are not loaded after a refresh of the bio view.

Because the name of the model is in the store and being fetched with @Getter models/getModelsList when the view is mounted the store has no value and the XHR fails.

How to reproduce

  1. Open a Bio model
  2. Wait until the bio view is loaded.
  3. Refresh the page.
  4. you can see in the XHR 404 error, that the model name is undefined

Screen Shot 2021-05-12 at 14 36 43