Skip to content

Added a check to avoid crashing if the percentage is 0#63

Open
obada-darkznly wants to merge 1 commit into
ivnsch:masterfrom
obada-darkznly:NaN-value-fix
Open

Added a check to avoid crashing if the percentage is 0#63
obada-darkznly wants to merge 1 commit into
ivnsch:masterfrom
obada-darkznly:NaN-value-fix

Conversation

@obada-darkznly
Copy link
Copy Markdown

  • I ran into this crash when receiving a 0 value from the backend server and the app attmepted to draw a chart for it.
    This way we'll avoid the crash vy not drawing the chart if the model.value property is 0

- I ran into this crash when receiving a 0 value from the backend server and the app attmepted to draw a chart for it.
This way we'll avoid the crash vy not drawing the chart if the model.value property is 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant