Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NaN in coordinator UI on load #23186

Closed
elharo opened this issue Jul 11, 2024 · 2 comments
Closed

NaN in coordinator UI on load #23186

elharo opened this issue Jul 11, 2024 · 2 comments

Comments

@elharo
Copy link
Contributor

elharo commented Jul 11, 2024

When the coordinator UI first loads it shows "NaN" for a number of values until this is resolved with initial values a few seconds in.

My guess is that it starts with default values of zero for a number of variables, divides zero by zero, gets NaN, and loads that straight into the UI without checking. It should probably instead check for NaN and display an empty string or a no data message instead. Or maybe it should check for zero divisor before it even does the division.

Screenshot 2024-07-11 at 7 50 33 AM
@elharo
Copy link
Contributor Author

elharo commented Jul 11, 2024

suspect the issue is in the precisionRound function in utils.js which does not handle NaN

Probably this should return "Unknown" or "Not available" on NaN.

@anilsomisetty
Copy link
Contributor

Hey @elharo, Could you please assign this issue to me ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants