NPE
This commit is contained in:
parent
7092441d3b
commit
05318a7782
@ -68,10 +68,12 @@
|
|||||||
},
|
},
|
||||||
airlines: function () {
|
airlines: function () {
|
||||||
var airlineCodes = []
|
var airlineCodes = []
|
||||||
var storedairlineCodes = this.$store.state.Airports.currentAirport.airlines
|
if (this.$store.state.Airports.currentAirport !== undefined) {
|
||||||
storedairlineCodes.forEach(element => {
|
var storedairlineCodes = this.$store.state.Airports.currentAirport.airlines
|
||||||
airlineCodes.push({value: element, label: element})
|
storedairlineCodes.forEach(element => {
|
||||||
})
|
airlineCodes.push({value: element, label: element})
|
||||||
|
})
|
||||||
|
}
|
||||||
return airlineCodes
|
return airlineCodes
|
||||||
},
|
},
|
||||||
groundnet: function () {
|
groundnet: function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user