Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
ZermattChris committed Oct 11, 2023
1 parent 33bfda9 commit 954c15f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/storex.js
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,8 @@ export default new Vuex.Store({
//console.log(state._flightsList)

// if we have a valid Array then loop through looking for the matching Flight Object's body.
if (obj == null) return null

for (const flghtObj of state._flightsList) {
//console.log(flghtObj)
if (flghtObj.id === state.selectedFlight ) {
Expand All @@ -1027,7 +1029,6 @@ export default new Vuex.Store({
}
}


return null
},

Expand Down

0 comments on commit 954c15f

Please sign in to comment.