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":
|
||||||
|
if (this.session.voteHistory.length) {
|
||||||
this.$store.commit("toggleModal", "voteHistory");
|
this.$store.commit("toggleModal", "voteHistory");
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "escape":
|
case "escape":
|
||||||
this.$store.commit("toggleModal");
|
this.$store.commit("toggleModal");
|
||||||
|
|
Loading…
Reference in New Issue