Skip to content

Commit

Permalink
Merge branch 'release/1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Camille Briand committed Apr 22, 2020
2 parents 5d7a3b0 + 0682652 commit 86f8287
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vinaigrette-client",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
3 changes: 2 additions & 1 deletion src/components/AnswerInputField.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-container>
<v-container v-if="$store.state.canAnswer">
<v-form ref="answerInputForm" @submit.prevent="tryAnswer" autocomplete="off">
<v-text-field
v-model="answer"
Expand All @@ -21,6 +21,7 @@ export default {
methods: {
tryAnswer () {
if (!this.answer) return
this.$socket.emit('sauce_answer', this.answer)
this.$refs.answerInputForm.reset()
}
Expand Down

0 comments on commit 86f8287

Please sign in to comment.