[Client] Fix bug

This commit is contained in:
syuilo 2017-03-11 19:32:12 +09:00
parent 08e83e1374
commit 34495adbfc
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@
this.save = () => { this.save = () => {
const context = { const context = {
text: this.refs.text.value, text: this.refs.text.value == '' ? undefined : this.refs.text.value,
files: this.files, files: this.files,
poll: this.poll && this.refs.poll ? this.refs.poll.get() : undefined poll: this.poll && this.refs.poll ? this.refs.poll.get() : undefined
}; };