Skip to content

Commit

Permalink
Always resetFulfillmentNeeded on Road switch
Browse files Browse the repository at this point in the history
  • Loading branch information
ttpcodes committed Feb 9, 2020
1 parent c4a320e commit a28194c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/MainPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,8 @@ export default {
_this.$store.commit('setRetrieved', newRoad);
});
} else if (newRoad !== '') {
// Reset fulfillmentNeeded so that new Roads still call FireRoad to check fulfillment.
this.$store.commit('resetFulfillmentNeeded')
this.updateFulfillment(this.$store.state.fulfillmentNeeded);
}
if (newRoad !== '') {
Expand Down

0 comments on commit a28194c

Please sign in to comment.