[Client] Fix bug
This commit is contained in:
parent
08e83e1374
commit
34495adbfc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue