diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2022-08-11 14:22:41 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2022-08-11 14:22:41 +0300 |
commit | 2311ab8c9ea2316f1dde6c514d2c6a4f7963f981 (patch) | |
tree | df7212e421b7c7b3953d474e92881131e096a425 /src | |
parent | 7dba3cd6d91e273639bfefbf0d65cff74a141c47 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/NewMessageForm/NewMessageForm.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue index 792dcfe36..7e88372f1 100644 --- a/src/components/NewMessageForm/NewMessageForm.vue +++ b/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> |