Favorites implementation #27
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ DataListView {
|
||||||
onWidgetDataChanged: {
|
onWidgetDataChanged: {
|
||||||
console.log("widget data changed")
|
console.log("widget data changed")
|
||||||
|
|
||||||
if(control.widgetData['discipline'] === 'speed'){
|
if(control.widgetData['discipline'] === 'speed' && control.widgetData['route_order'] === "-1" && Object.keys(control.widgetData['route_names']).length > 2){
|
||||||
speedFlowChart.flowchartData = ({})
|
speedFlowChart.flowchartData = ({})
|
||||||
speedFlowChart.enabled = true
|
speedFlowChart.enabled = true
|
||||||
speedFlowChart.flowchartData = control.widgetData
|
speedFlowChart.flowchartData = control.widgetData
|
||||||
|
|
Loading…
Reference in a new issue