-
Notifications
You must be signed in to change notification settings - Fork 895
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
[Bug]: Videos with no views say "NaN views" instead of "0 views" #6568
Comments
Please provide details if you would like us to actually be able to do anything with this bug report. Which video? Where in the app did you see it? Do you have a screenshot or screen recording of it, if yes please provide it? How can we reproduce it/make the same problem happen on our end? You also said the version you were using is 0.21.1 but then ticked the latest nightly box too, please clarify which version you are actually using as they are two very different things. |
Oops. Sorry, I didn't mean to check the last box. I originally saw this bug in the list of videos under "Subscriptions", but it appears to be the case for the "Search Results" page and the channel page too. |
can confirm the I was using |
I can fix this one; please feel free to assign 😸 |
PR submitted at, #6596. With this change, "views" will not be shown when there's none. |
Guidelines
Describe the bug
When a video has 0 views, it says "NaN views".
Expected Behavior
It should say "0 views" instead of "NaN views".
Issue Labels
text/string issue
FreeTube Version
v0.22.1 Beta
Operating System Version
Windows 10
Installation Method
.exe
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
No response
Nightly Build
The text was updated successfully, but these errors were encountered: