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;
|
if (this.session.isSpectator) return;
|
||||||
this.$store.commit("toggleModal", "roles");
|
this.$store.commit("toggleModal", "roles");
|
||||||
break;
|
break;
|
||||||
|
case "v":
|
||||||
|
if (this.session.voteHistory.length) {
|
||||||
|
this.$store.commit("toggleModal", "voteHistory");
|
||||||
|
}
|
||||||
|
break;
|
||||||
case "escape":
|
case "escape":
|
||||||
this.$store.commit("toggleModal");
|
this.$store.commit("toggleModal");
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,8 +114,7 @@
|
||||||
v-if="session.voteHistory.length"
|
v-if="session.voteHistory.length"
|
||||||
@click="toggleModal('voteHistory')"
|
@click="toggleModal('voteHistory')"
|
||||||
>
|
>
|
||||||
Nomination history
|
Nomination history<em>[V]</em>
|
||||||
<em><font-awesome-icon icon="hand-paper"/></em>
|
|
||||||
</li>
|
</li>
|
||||||
<li @click="leaveSession" v-if="session.sessionId">
|
<li @click="leaveSession" v-if="session.sessionId">
|
||||||
Leave Session
|
Leave Session
|
||||||
|
|
Loading…
Reference in New Issue