You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a bug when switching dashboards. Sometimes the dashboard is displayed empty. I investigated the source code a bit and found an interesting place in the Dashboard component. Most likely, a race starts here and sometimes the response from the api with empty data comes later than the data of the selected dashboard. If you do
setElements({});setElements2([]);setPathes([]);
instead of requesting the api for an empty dashboard, it seems to solve the problem.
The text was updated successfully, but these errors were encountered:
I noticed a bug when switching dashboards. Sometimes the dashboard is displayed empty. I investigated the source code a bit and found an interesting place in the Dashboard component. Most likely, a race starts here and sometimes the response from the api with empty data comes later than the data of the selected dashboard. If you do
instead of requesting the api for an empty dashboard, it seems to solve the problem.
The text was updated successfully, but these errors were encountered: