[Fix] end turn button being shown in player list
release-tag / release-image (push) Successful in 27s

#18
This commit is contained in:
2024-05-16 11:49:58 +02:00
parent 6d3a11577b
commit ffc3c793ab
+4 -2
View File
@@ -101,8 +101,10 @@ const prepare_champion = (target: Card) => run_effect(CardEffects.PREPARE, targe
</div> </div>
<div id="player_stats"> <div id="player_stats">
<template v-if="goStore.current_game?.started"> <template v-if="goStore.current_game?.started">
<PlayerStats v-if="props.player != goStore.self" :player="props.player"></PlayerStats> <PlayerStats v-if="props.player !== goStore.self || hide_stack_and_discard" :player="props.player">
<SelfView v-if="props.player === goStore.self" :player="props.player"></SelfView> </PlayerStats>
<SelfView v-if="props.player === goStore.self && !hide_stack_and_discard" :player="props.player">
</SelfView>
</template> </template>
</div> </div>
</div> </div>