mirror of https://github.com/bra1n/townsquare.git
Apply suggestions from code review
Co-authored-by: Steffen <steffen@baumgart.biz>
This commit is contained in:
parent
0b78848d03
commit
d52d704e97
|
@ -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");
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
v-if="session.voteHistory.length"
|
||||
@click="toggleModal('voteHistory')"
|
||||
>
|
||||
Nomination history<em>[V]</em>
|
||||
Nomination history<em>[V]</em>
|
||||
</li>
|
||||
<li @click="leaveSession" v-if="session.sessionId">
|
||||
Leave Session
|
||||
|
|
Loading…
Reference in New Issue