Skip to content

Commit 3c26877

Browse files
committed
[refactoring] Minor code cleanup
1 parent 58ab152 commit 3c26877

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
backend:
2323
docker:
2424
- image: circleci/golang:1.10
25-
2625
working_directory: /go/src/github.com/RoboCup-SSL/ssl-game-controller
2726
steps:
2827
- checkout

src/components/common/EditableLabelDuration.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
size="5"
1111
ref="input"
1212
/>
13-
<a class="btn-edit" v-on:click="edit()" v-show="!g.edit"><font-awesome-icon icon="edit"/></a>
13+
<a class="btn-edit" v-on:click="edit()" v-show="!g.edit">
14+
<font-awesome-icon icon="edit"/>
15+
</a>
1416
</span>
1517
</template>
1618

src/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default new Vuex.Store({
5757
SOCKET_ONERROR() {
5858
},
5959
SOCKET_ONMESSAGE(state, message) {
60-
if (message.state != null) {
60+
if (message.state) {
6161
state.refBoxState = message.state;
6262
}
6363
if (message.gameEvents) {

0 commit comments

Comments
 (0)