Gold872 / elastic-dashboard

A simple and modern dashboard for FRC
MIT License
90 stars 21 forks source link

Fix camera stream edge case error when no image is received #107

Closed Gold872 closed 1 month ago

Gold872 commented 1 month ago

After disconnecting from network tables, if no image was received from a camera stream, there would be an error due to trying to display an image from an empty cache. This is a fix for it.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.94%. Comparing base (047d590) to head (b1255aa). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #107 +/- ## ======================================= Coverage 63.93% 63.94% ======================================= Files 77 77 Lines 7983 7984 +1 ======================================= + Hits 5104 5105 +1 Misses 2879 2879 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.