Favorites implementation #27

Merged
dorian merged 5 commits from favorites_implementation into master 2024-10-17 17:52:37 +02:00
Showing only changes of commit 0dabf8d576 - Show all commits

View file

@ -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