ESI-FAR / INA-tool

A tool for visualising and analysing Institutional Statements
MIT License
2 stars 0 forks source link

[BUG] F5 clears data if data was loaded from json #110

Open sjvrijn opened 2 days ago

sjvrijn commented 2 days ago

Describe the bug

Session is cleared when refreshing the dashboard page, either through F5 or by visiting e.g. the Help page. This only occurs when data has been loaded from a json file.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the dashboard
  2. Click on 'upload file'
  3. Select a previously created .json file
  4. Press F5
  5. See error: session is cleared

Expected behavior

The session should be maintained after pressing F5. This correct behavior is still shown when uploading a csv file instead.

Sample JSON file

ina-demo.json

sjvrijn commented 2 days ago

A possible solution could be #111