diff --git a/src/components/election/CandidateCard.vue b/src/components/election/CandidateCard.vue
index 596397b..e9f40a7 100644
--- a/src/components/election/CandidateCard.vue
+++ b/src/components/election/CandidateCard.vue
@@ -78,7 +78,7 @@ const vote = () =>
class="rounded-lg text-center shadow bg-gray-50"
:class="{
'!bg-secondary-50': isVotingOpen,
- '!bg-green-50 shadow-lg': isVotingClosed
+ '!bg-white shadow-lg': isVotingClosed
}"
>
@@ -94,7 +94,7 @@ const vote = () =>
{{ props.candidate.owner }}
- Role
diff --git a/src/components/hero/ElectionHero.vue b/src/components/hero/ElectionHero.vue
index 47e6a74..cb764e9 100644
--- a/src/components/hero/ElectionHero.vue
+++ b/src/components/hero/ElectionHero.vue
@@ -1,5 +1,5 @@
diff --git a/src/store/modules/ballot.js b/src/store/modules/ballot.js
index 72b42dc..74eb7a2 100644
--- a/src/store/modules/ballot.js
+++ b/src/store/modules/ballot.js
@@ -103,7 +103,7 @@ const actions = {
commit('pushCandidates', rows);
- if (getters.isVotingOpen) {
+ if (getters.isVotingOpen || getters.isVotingClosed) {
dispatch('fetchVotingBallots');
}
} catch (err) {