mirror of https://github.com/bra1n/townsquare.git
Merge pull request #80 from lilserf/main
Add V hotkey for voting history
This commit is contained in:
commit
cbbcf01ba7
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue