Hides nomination log button when sessionId==0

This commmit implements 2 stylistic suggestions
as well: a CSS class name change and removes seemingly
redundant spacing specification. Testing on chrome and safari
reveals neither caues a functional change.
This commit is contained in:
Michael Langford 2021-03-17 11:16:38 -04:00
parent 9a232c835a
commit 13f0d82c34
1 changed files with 1 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<div id="controls"> <div id="controls">
<span <span
class="nomlog-summary" class="nomlog-summary"
v-show="session.voteHistory.length" v-show="session.voteHistory.length && session.sessionId"
@click="toggleModal('voteHistory')" @click="toggleModal('voteHistory')"
:title=" :title="
`${session.voteHistory.length} recent ${ `${session.voteHistory.length} recent ${
@ -381,8 +381,6 @@ export default {
span.nomlog-summary { span.nomlog-summary {
color: $townsfolk; color: $townsfolk;
margin-top: 7px;
margin-left: 10px;
} }
span.session { span.session {