catch some errors
parent
b8f8d21478
commit
a992fdedf4
|
@ -488,7 +488,9 @@ export default class CanExplorer extends Component {
|
|||
this.setState({ firstFrameTime });
|
||||
}
|
||||
|
||||
this.addMessagesToDataCache(part, newMessages, newThumbnails);
|
||||
if (newMessages) {
|
||||
this.addMessagesToDataCache(part, newMessages, newThumbnails);
|
||||
}
|
||||
|
||||
// const messages = this.addAndRehydrateMessages(
|
||||
// newMessages,
|
||||
|
|
|
@ -58,7 +58,7 @@ export default class CanGraphList extends Component {
|
|||
}
|
||||
return;
|
||||
}
|
||||
const rect = this.plotListRef.getBoundingClientRect();
|
||||
const rect = this.plotListRef.current.getBoundingClientRect();
|
||||
const draggingGraph = this.determineDraggingGraph();
|
||||
if (draggingGraph) {
|
||||
draggingGraph.ref.hidden = true;
|
||||
|
|
|
@ -29,7 +29,7 @@ export default class MessageBytes extends Component {
|
|||
this.props.message.entries.length - 1
|
||||
];
|
||||
|
||||
return nextLastEntry.hexData !== curLastEntry.hexData;
|
||||
return !nextLastEntry || !curLastEntry || nextLastEntry.hexData !== curLastEntry.hexData;
|
||||
}
|
||||
return nextProps.seekTime !== this.props.seekTime;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue