From 2311ab8c9ea2316f1dde6c514d2c6a4f7963f981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Thu, 11 Aug 2022 13:22:41 +0200 Subject: Fix message options when submitting from the advanced input MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "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 --- src/components/NewMessageForm/NewMessageForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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" /> -- cgit v1.2.3