inventaire / inventaire-client

webapp coupled to the inventaire server :books:
https://inventaire.io
48 stars 16 forks source link

Falsely stating "There is nothing here" while still waiting for server response #370

Open jum-s opened 1 year ago

jum-s commented 1 year ago

When i load a page, the first thing displayed is a "There is nothing here" message, while i should instead see a spinner before elements are here. This is due to checking if an array is empty, while this array is then filled by a promise later on. This seem to be a code pattern here since the svelte rewrite. Some occurrences:

There may be some more elsewhere.