mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 12:49:32 +00:00
fix: last commit broke sendinf files with CTRL + V
This commit is contained in:
@@ -329,7 +329,7 @@ const MessageInput = ({ ticketStatus }) => {
|
|||||||
onChange={handleChangeInput}
|
onChange={handleChangeInput}
|
||||||
disabled={recording || loading || ticketStatus !== "open"}
|
disabled={recording || loading || ticketStatus !== "open"}
|
||||||
onPaste={e => {
|
onPaste={e => {
|
||||||
ticketStatus === "open" && handleInputPaste();
|
ticketStatus === "open" && handleInputPaste(e);
|
||||||
}}
|
}}
|
||||||
onKeyPress={e => {
|
onKeyPress={e => {
|
||||||
if (loading || e.shiftKey) return;
|
if (loading || e.shiftKey) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user