diff options
author | Maksim Sukharev <antreesy.web@gmail.com> | 2024-03-14 17:18:45 +0100 |
---|---|---|
committer | Maksim Sukharev <antreesy.web@gmail.com> | 2024-03-14 17:18:45 +0100 |
commit | ed27439744d60ed6dd9b5ebb4ef15ed19e3893e3 (patch) | |
tree | 89787bd312a129146c62d060fc474a0eca8999b7 | |
parent | 708ab23fea2e48d7832584aca3b33209fbdd60cd (diff) |
revert(NewMessage): revert removed line from 9efb614ac0ec6346176dfc75384a3f1b42f6621b
- could fill the input again after posting a message, if was sent before debounced update
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
-rw-r--r-- | src/components/NewMessage/NewMessage.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/NewMessage/NewMessage.vue b/src/components/NewMessage/NewMessage.vue index c06a7f1ba..0301e5a99 100644 --- a/src/components/NewMessage/NewMessage.vue +++ b/src/components/NewMessage/NewMessage.vue @@ -621,6 +621,8 @@ export default { return } this.$nextTick(() => { + // reset or fill main input in chat view from the store + this.text = this.chatInput // refocus input as the user might want to type further this.focusInput() }) |