Skip to content

Commit

Permalink
Merge pull request #282 from hotwax/#267
Browse files Browse the repository at this point in the history
Fixed: Persistent Alert Prompt for Unsaved Changes in Route Details.
  • Loading branch information
ravilodhi authored Dec 2, 2024
2 parents 945fd05 + be78360 commit df80850
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/views/BrokeringRoute.vue
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,10 @@ onBeforeRouteLeave(async (to) => {
message: translate("Do you want to save your changes before leaving this page?"),
buttons: [
{
text: translate("Discard")
text: translate("Discard"),
handler: async () => {
hasUnsavedChanges.value = false;
}
},
{
text: translate("Save"),
Expand Down

0 comments on commit df80850

Please sign in to comment.