Fixes TypeError: Cannot read properties of undefined (reading 'name')
occurring in DeviceInfo component when device prop is undefined.
Changes:
- DeviceInfo: Add null checks and graceful error handling for undefined device prop
- DeviceInfo: Enhanced formatValue to return 'N/A' for null/undefined values
- SystemStatsPanel: Add guard clauses for empty devices array
- SystemStatsPanel: Display helpful message when no devices available
- Added monitoring to log when devices array is missing for debugging
- Added i18n keys for error messages
Root cause: Component attempted to access properties on undefined device object
when SystemStats API returned empty devices array or malformed data.
Solution: Defensive programming with null checks and user-friendly error messages.
Tests updated to verify graceful handling instead of throwing errors.
Sentry URL: https://comfy-org.sentry.io/issues/6804418395/?project=4509681221369857
* basic about page
* Remove frontend version from setting dialog header
* Style about page
* basic system stats
* Basic styling
* Reword
* Format memory amount