Skip to content

Commit

Permalink
map: Inform user that the mission should be started in the map widget
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl authored and ArturoManzoli committed Sep 20, 2024
1 parent bcdd884 commit 2558995
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/MissionPlanningView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ const uploadMissionToVehicle = async (): Promise<void> => {
}
try {
await vehicleStore.uploadMission(missionStore.currentPlanningWaypoints, loadingCallback)
showDialog({ variant: 'success', message: 'Mission upload succeed!', timer: 2000 })
const message = `Mission upload succeed! Open the Map widget in Flight Mode and click the "play" button to start the mission.`
showDialog({ variant: 'success', message, timer: 6000 })
} catch (error) {
showDialog({ variant: 'error', title: 'Mission upload failed', message: error as string, timer: 5000 })
} finally {
Expand Down

0 comments on commit 2558995

Please sign in to comment.