diff --git a/src/App.vue b/src/App.vue index a053447..63c5772 100644 --- a/src/App.vue +++ b/src/App.vue @@ -103,7 +103,9 @@ export default { this.$store.commit("toggleModal", "roles"); break; case "v": - this.$store.commit("toggleModal", "voteHistory"); + if (this.session.voteHistory.length) { + this.$store.commit("toggleModal", "voteHistory"); + } break; case "escape": this.$store.commit("toggleModal"); diff --git a/src/components/Menu.vue b/src/components/Menu.vue index c6519f4..dcb53cc 100644 --- a/src/components/Menu.vue +++ b/src/components/Menu.vue @@ -114,7 +114,7 @@ v-if="session.voteHistory.length" @click="toggleModal('voteHistory')" > - Nomination history[V] + Nomination history[V]
  • Leave Session