Fix Bug 69805 - Rooms: Fixed "Uncaught (in promise) ReferenceError: uploadToFolder is not defined"

This commit is contained in:
Nikita Gopienko 2024-08-21 15:23:40 +03:00
parent dd33346a46
commit d288ef8b64

View File

@ -169,6 +169,10 @@ const withHotkeys = (Component) => {
};
const onPaste = async (e) => {
const someDialogIsOpen = checkDialogsOpen();
if (someDialogIsOpen) return;
uploadClipboardFiles(t, e);
};