We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d27ef30 commit 0bea5feCopy full SHA for 0bea5fe
src/flightlog_fields_presenter.js
@@ -1698,7 +1698,7 @@ FlightLogFieldPresenter.decodeFieldToFriendly = function (
1698
);
1699
1700
default:
1701
- return value.toFixed(0);
+ return value?.toFixed(0);
1702
}
1703
};
1704
src/main.js
@@ -251,7 +251,7 @@ function BlackboxLogViewer() {
251
const tpl = _.template(
252
"<tr><td><%= name %></td><td><%= min %> (<%= min_raw %>)</td><td><%= max %> (<%= max_raw %>)</td><td><%= mean %> (<%= mean_raw %>)</td></tr>"
253
254
- for (const field of stats) {
+ for (const field of Object.keys(stats)) {
255
const stat = stats[field];
256
if (stat === undefined) {
257
continue;
0 commit comments