mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 15:40:57 -07:00
[Client] Fix bug
This commit is contained in:
parent
c61da0e0f3
commit
cd0514ab64
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