Skip to content

Commit

Permalink
#135 Fixed v-if
Browse files Browse the repository at this point in the history
  • Loading branch information
lxgr-linux committed Jan 6, 2023
1 parent 00d3070 commit 97e2528
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions src/components/elements/CouncilComponent.vue
Original file line number Diff line number Diff line change
@@ -1,28 +1,11 @@
<template>
<div align="center">
<div class="InfoContainer">
<div
<info-component
v-if="status === Status.VOTING"
class="ELement Info"
>
<h3>{{ card.CardName }}</h3>
<p
v-if="currentCard.FlavourText"
class="FlavourText"
>
"{{ card.FlavourText }}"
</p>
<br>
<h3>Advanced Card Information</h3>
<p>
Votepool: {{ votePool }} <br>
Status: {{ card.status }} <br>
</p>
<br><br>
<keyword-component
:keywords="card.Keywords"
/>
</div>
:current-card="currentCard"
/>
<div
v-if="status === Status.VOTING"
class="ELement"
Expand Down Expand Up @@ -50,13 +33,12 @@
</template>

<script>
import { Coin } from "@/utils/coins";
import CardComponent from "@/components/elements/CardComponent";
import KeywordComponent from "@/components/elements/KeywordComponent.vue";
import InfoComponent from "@/components/elements/VotingComponents/InfoComponent.vue";
export default {
name: "CouncilComponent",
components: { CardComponent, KeywordComponent },
components: { InfoComponent, CardComponent },
props: {
councilId: {
type: Number,
Expand Down

0 comments on commit 97e2528

Please sign in to comment.