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

security/etpro-telemetry: Fix widget not showing any data #4128

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

Monviech
Copy link
Member

@Monviech Monviech commented Jul 29, 2024

The API returns "sensor_status":"ACTIVE", which is upper case. The widget logic compares it to "active", which makes the widget fail to show any data. Converting "ACTIVE" to lower case solves that issue.

Reference: https://forum.opnsense.org/index.php?topic=41772.0

I use it too so I know it works now.

The API returns "sensor_status":"ACTIVE", which is upper case.
The widget logic compares it to "active", which makes the widget fail to show any data. Converting "ACTIVE" to lower case solves that issue.
@AdSchellevis AdSchellevis added the bug Production bug label Jul 29, 2024
@AdSchellevis AdSchellevis merged commit 743a879 into opnsense:master Jul 29, 2024
@AdSchellevis
Copy link
Member

@Monviech thanks!

@Monviech Monviech deleted the fix-etprotelemetry-widget branch July 29, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Production bug
Development

Successfully merging this pull request may close these issues.

2 participants