Gate type

This commit is contained in:
portree_kid 2020-04-02 21:35:59 +02:00
parent 26a935997b
commit 1650b44628
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<template>
<el-link type="primary" @click="show(parking.index)">{{parking.name}} {{parking.number}}</el-link>
<el-link type="primary" @click="show(parking.index)">{{parking.name}} {{parking.number}} {{parking.type}}</el-link>
</template>
<script lang="js">

View File

@ -102,7 +102,7 @@ exports.readGroundnetXML = function (fDir, icao, force) {
}).sort();
store.default.dispatch('setParkings', parkingNodes.map(
p => ({index: Number(p.attrs.index), name: String(p.attrs.name), number: Number(p.attrs.number)}
p => ({index: Number(p.attrs.index), name: String(p.attrs.name), number: Number(p.attrs.number), type: String(p.attrs.type)}
)).sort((p1, p2) => {
if (p1.name === p2.name) {
return p1.number - p2.number