Fix front sending Play card even when clicking on discard button
release-tag / release-image (push) Successful in 32s
release-tag / release-image (push) Successful in 32s
This commit is contained in:
@@ -10,7 +10,7 @@ const isTurn = computed(() => goStore.self?.team == goStore.current_game?.curren
|
||||
<div class="cards_container" id="self_hand">
|
||||
<CardPreview :card_id="c?.card_id" v-for=" c in goStore.self?.hand " @click="c && playCard(c)">
|
||||
<button v-if="c && goStore.self?.turn && (goStore.self.turn.fuck_u_markers ?? 0) > 0"
|
||||
@click="discard(c)">DISCARD</button>
|
||||
@click.stop="discard(c)">DISCARD</button>
|
||||
</CardPreview>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user