Groundnet count

This commit is contained in:
portree_kid 2019-12-30 23:27:07 +01:00
parent 819aadc349
commit 1211313508

View File

@ -1,29 +1,35 @@
<template>
<div id="panel" width="100%">
<div id="panel" width="100%" v-if="airport">
<h1 class="leaflet-sidebar-header">
Airports
<div class="leaflet-sidebar-close">
<i class="fa fa-caret-left"></i>
<div id="panel" width="100%" v-if="airport">
<h1 class="leaflet-sidebar-header">
Airports
<div class="leaflet-sidebar-close">
<i class="fa fa-caret-left"></i>
</div>
</h1>
<div>
<el-row>
<el-col :span="7">ICAO :</el-col>
<el-col :span="15">{{ this.$store.state.Editable.data.properties.icao }}</el-col>
</el-row>
<el-row>
<el-col :span="7">Name :</el-col>
<el-col :span="15">{{ this.$store.state.Editable.data.properties.name }}</el-col>
</el-row>
<el-row>
<el-col :span="7">Flights :</el-col>
<el-col :span="15">{{ this.$store.state.Editable.data.properties.flights }}</el-col>
</el-row>
<el-row>
<el-col :span="7">Airlines :</el-col>
<el-col :span="15">{{ this.$store.state.Editable.data.properties.airlines }}</el-col>
</el-row>
<el-row>
<el-col :span="7">Groundnet :</el-col>
<el-col :span="15">{{groundnet}}</el-col>
</el-row>
</div>
</h1>
<el-row>
<el-col :span="7">ICAO : </el-col>
<el-col :span="15">{{ this.$store.state.Editable.data.properties.icao }}</el-col>
</el-row>
<el-row>
<el-col :span="7">Name : </el-col>
<el-col :span="15">{{ this.$store.state.Editable.data.properties.name }}</el-col>
</el-row>
<el-row>
<el-col :span="7">Flights : </el-col>
<el-col :span="15">{{ this.$store.state.Editable.data.properties.flights }}</el-col>
</el-row>
<el-row>
<el-col :span="7">Airlines : </el-col>
<el-col :span="15">{{ this.$store.state.Editable.data.properties.airlines }}</el-col>
</el-row>
</div>
</div>
</div>
</template>
@ -33,6 +39,9 @@
airport: function () {
return this.$store.state.Editable.type === 'airport'
},
groundnet: function () {
return this.$store.state.Editable.data.properties.groundnet
},
airports_directory: function () {
return this.$store.state.Settings.settings.airportsDirectory
}