Merge pull request #80 from lilserf/main

Add V hotkey for voting history
This commit is contained in:
Steffen 2021-01-05 20:23:48 +01:00 committed by GitHub
commit cbbcf01ba7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -102,6 +102,11 @@ export default {
if (this.session.isSpectator) return;
this.$store.commit("toggleModal", "roles");
break;
case "v":
if (this.session.voteHistory.length) {
this.$store.commit("toggleModal", "voteHistory");
}
break;
case "escape":
this.$store.commit("toggleModal");
}

View File

@ -114,8 +114,7 @@
v-if="session.voteHistory.length"
@click="toggleModal('voteHistory')"
>
Nomination history
<em><font-awesome-icon icon="hand-paper"/></em>
Nomination history<em>[V]</em>
</li>
<li @click="leaveSession" v-if="session.sessionId">
Leave Session