fix broken card descriptions
This commit is contained in:
parent
dd84d91b43
commit
d2bddb9eda
@ -41,12 +41,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<transition name="list">
|
<transition name="list">
|
||||||
<p v-if="eventCard" class="center-stuff"><b>{{eventDesc}}</b></p>
|
<p v-if="eventCard" class="center-stuff">🔥 <b>{{eventDesc}}</b> 🎴</p>
|
||||||
|
</transition>
|
||||||
|
<transition name="list">
|
||||||
<p v-if="eventCardWildWestShow && !eventCardWildWestShow.back" class="center-stuff">🎪 <b>{{eventDescWildWestShow}}</b> 🎪</p>
|
<p v-if="eventCardWildWestShow && !eventCardWildWestShow.back" class="center-stuff">🎪 <b>{{eventDescWildWestShow}}</b> 🎪</p>
|
||||||
|
</transition>
|
||||||
|
<transition name="list">
|
||||||
<div v-if="goldRushDesc">
|
<div v-if="goldRushDesc">
|
||||||
<p class="center-stuff">🤑️ <i>{{$t(`cards.${goldRushDesc.name}.desc`)}}</i> 🤑️</p>
|
<p class="center-stuff">🤑️ <i>{{$t(`cards.${goldRushDesc.name}.desc`)}}</i> 🤑️</p>
|
||||||
<p class="center-stuff">🤑️ <b>{{goldRushDesc.number - gold_rush_discount}} 💵️</b> 🤑️</p>
|
<p class="center-stuff">🤑️ <b>{{goldRushDesc.number - gold_rush_discount}} 💵️</b> 🤑️</p>
|
||||||
</div>
|
</div>
|
||||||
|
</transition>
|
||||||
|
<transition name="list">
|
||||||
<div v-if="stationDesc">
|
<div v-if="stationDesc">
|
||||||
<p class="center-stuff"><i>{{stationDesc}}</i></p>
|
<p class="center-stuff"><i>{{stationDesc}}</i></p>
|
||||||
</div>
|
</div>
|
||||||
@ -216,7 +222,7 @@ export default {
|
|||||||
this.stationDesc = this.$t(`cards.${this.currentStations[index].name}.desc`)
|
this.stationDesc = this.$t(`cards.${this.currentStations[index].name}.desc`)
|
||||||
const trainPiece = this.trainPieceForStation(index)
|
const trainPiece = this.trainPieceForStation(index)
|
||||||
if (trainPiece) {
|
if (trainPiece) {
|
||||||
this.stationDesc += '\n\n🚂' + this.$t(`cards.${trainPiece.name}.desc`)
|
this.stationDesc += '\n\n🚂' + this.$t(`cards.${trainPiece.name}.desc`) + '🚋'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user