KillingSpark / HaDiBar

MIT License
0 stars 1 forks source link

Transaction list fetching fails when there are no accounts on login #13

Open seoester opened 4 years ago

seoester commented 4 years ago

Reproduce by:

  1. Start clean install.
  2. Load the app
  3. Sign-up / log-in
  4. Add some accounts
  5. Generate a transaction list
KillingSpark commented 4 years ago

Can you give a way to reproduce this? I am not sure I understand the issue, if there are no accounts, the transaction list is empty. Which is to be expected / correct behaviour right?

seoester commented 4 years ago

I've updated the description with some steps.

The expected behaviour would be to show a transaction list and not reload the page (complete reload, implicitly logs out).

KillingSpark commented 4 years ago

This seems chrome specific. It does not happen for me on Firefox but it does on Chromium. Will need to look into that further. It has probably to do with the server sending an empty list

KillingSpark commented 4 years ago

Interestingly this only happens the first time one tries to generate the tx list. Then chromium reloads the page with a host.tld/app/#? url and it works as it does on firefox (showing an empty table). This is very weird