From 71c8a6f8e0f3aa34d9796de266a01aaf26df91cd Mon Sep 17 00:00:00 2001 From: portree_kid Date: Sun, 4 Oct 2020 13:11:13 +0200 Subject: [PATCH] https://github.com/Portree-Kid/flightgear-airports/issues/96 --- src/renderer/components/ParkingEdit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/ParkingEdit.vue b/src/renderer/components/ParkingEdit.vue index 71e2dda..17069bf 100644 --- a/src/renderer/components/ParkingEdit.vue +++ b/src/renderer/components/ParkingEdit.vue @@ -242,7 +242,7 @@ var codes = this.$store.state.Editable.data.parking.airlineCodes if (Array.isArray(codes)) { return codes - } else if (codes !== undefined) { + } else if (codes !== undefined && typeof codes === 'string') { return codes.split(',') } else { return []