mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-05 16:37:09 +00:00
refactor(control): use default instead of case null in display_status_to_info
hopefully will close#42
This commit is contained in:
@@ -100,7 +100,7 @@ export function display_status_to_info(status: DisplayStatus): string {
|
||||
return 'Lädt';
|
||||
case 'host_offline':
|
||||
return 'Offline';
|
||||
case null:
|
||||
default:
|
||||
return '???';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user