Fix plot pause function

This commit is contained in:
Thomas Nordquist
2019-07-11 18:11:26 +02:00
parent 4f3150d0f3
commit 05867dab48
3 changed files with 13 additions and 10 deletions

View File

@@ -49,7 +49,7 @@ function nodeDotPathToHistory(startTime: number | undefined, history: q.MessageH
.filter(data => !isNaN(data.y as any)) as any
}
function render(props: Props) {
function TopicPlot(props: Props) {
const startOffset = props.timeInterval ? parseDuration(props.timeInterval) : undefined
const data = props.dotPath
? nodeDotPathToHistory(startOffset, props.history, props.dotPath)
@@ -66,4 +66,4 @@ function render(props: Props) {
)
}
export default render
export default TopicPlot