mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-03 05:28:13 +00:00
asdek; hotfixy
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
<tbody>
|
||||
<tr v-for="(station, row) in store.sortedStationList" tabindex="0">
|
||||
<td v-for="(value, propName) in headerNameList" @click="changeProperty(station, row, propName as string)" :class="propName">
|
||||
<td v-for="(_, propName) in headerNameList" @click="changeProperty(station, row, propName as string)" :class="propName">
|
||||
<span v-if="propName === 'url'" :style="station.url ? 'color: gold' : 'color: gray;'">URL</span>
|
||||
<span v-else-if="propName === 'projectUrl'" :style="station.projectUrl ? 'color: gold' : 'color: gray;'">URL</span>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
<span v-else-if="typeof (station as any)[propName] === 'boolean'">
|
||||
{{ (station as any)[propName] ? '✅' : '❌' }}
|
||||
</span>
|
||||
|
||||
<span v-else>{{ (station as any)[propName] }}</span>
|
||||
</td>
|
||||
|
||||
@@ -85,6 +86,7 @@ export default defineComponent({
|
||||
signalType: 'Sygnalizacja',
|
||||
controlType: 'Sterowanie',
|
||||
SUP: 'SUP',
|
||||
ASDEK: 'ASDEK',
|
||||
authors: 'Autorzy',
|
||||
routes: 'Szlaki',
|
||||
checkpoints: 'Posterunki',
|
||||
|
||||
Reference in New Issue
Block a user