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");
|
this.$store.commit("toggleModal", "roles");
|
||||||
break;
|
break;
|
||||||
case "v":
|
case "v":
|
||||||
this.$store.commit("toggleModal", "voteHistory");
|
if (this.session.voteHistory.length) {
|
||||||
|
this.$store.commit("toggleModal", "voteHistory");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "escape":
|
case "escape":
|
||||||
this.$store.commit("toggleModal");
|
this.$store.commit("toggleModal");
|
||||||
|
|
|
@ -114,7 +114,7 @@
|
||||||
v-if="session.voteHistory.length"
|
v-if="session.voteHistory.length"
|
||||||
@click="toggleModal('voteHistory')"
|
@click="toggleModal('voteHistory')"
|
||||||
>
|
>
|
||||||
Nomination history<em>[V]</em>
|
Nomination history<em>[V]</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