Browse Source

Fix message options when submitting from the advanced input

"handleSubmit" was called from an event, so the "options" were the event
itself; this did not fail, as the options were defined, but they were
useless anyway. Now the options are explicitly set.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
pull/7716/head
Daniel Calviño Sánchez 3 years ago
parent
commit
2311ab8c9e
  1. 2
      src/components/NewMessageForm/NewMessageForm.vue

2
src/components/NewMessageForm/NewMessageForm.vue

@ -96,7 +96,7 @@
:placeholder-text="placeholderText"
:aria-label="placeholderText"
@update:contentEditable="contentEditableToParsed"
@submit="handleSubmit"
@submit="handleSubmit({ silent: false })"
@files-pasted="handlePastedFiles" />
</div>

Loading…
Cancel
Save