File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -969,7 +969,7 @@ export function FlightLogParser(logData) {
969969 // Just Add them anyway
970970 that . sysConfig [ fieldName ] = fieldValue ;
971971 break ;
972- case "Device UID " :
972+ case "DeviceUID " :
973973 that . sysConfig . deviceUID = fieldValue ;
974974 break ;
975975 default :
Original file line number Diff line number Diff line change @@ -516,15 +516,15 @@ function BlackboxLogViewer() {
516516 } else {
517517 $(".log-device-uid-header,.log-device-uid").css('display', 'none');
518518 }
519- **/
519+ **/
520520
521521 // Add log version information to status bar
522522 const sysConfig = flightLog . getSysConfig ( ) ;
523+
523524 $ ( ".version" , statusBar ) . text (
524- ( sysConfig [ "Craft name" ] != null ? `${ sysConfig [ "Craft name" ] } : ` : "" ) +
525- ( sysConfig [ "Firmware revision" ] != null
526- ? sysConfig [ "Firmware revision" ]
527- : "" )
525+ ( sysConfig [ "Craft name" ] != null && sysConfig [ "Craft name" ] . length ? `${ sysConfig [ "Craft name" ] } : ` : "" ) +
526+ ( sysConfig [ "Firmware revision" ] != null ? `${ sysConfig [ "Firmware revision" ] } ` : "" ) +
527+ ( sysConfig . deviceUID != null ? ` (${ sysConfig . deviceUID } )` : "" )
528528 ) ;
529529 $ ( ".looptime" , statusBar ) . text (
530530 stringLoopTime (
You can’t perform that action at this time.
0 commit comments