Skip to content

Commit

Permalink
fix(ui): return routes set not working without a priority route (#3188)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Jul 25, 2023
1 parent c16958a commit be2ece4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/custom/NodePanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -801,11 +801,14 @@ export default {
repeaters: r.repeaters,
routeSpeed: r.routeSpeed,
})),
{
]
if (priorityRoute) {
args.push({
repeaters: priorityRoute.repeaters,
routeSpeed: priorityRoute.routeSpeed,
},
]
})
}
await this.setRoute('customSUCReturnRoutes', args)
},
Expand Down

0 comments on commit be2ece4

Please sign in to comment.