fix(ui): handle null chat in folder drop handler for cross-account drag (#25928)
This commit is contained in:
1 file changed
+2
@@ -176,6 +176,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
if (chat) {
|
||||
// Move the chat
|
||||
const res = await updateChatFolderIdById(
|
||||
localStorage.token,
|
||||
@@ -196,6 +197,7 @@
|
||||
dispatch('update');
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
console.log('Error parsing dataTransfer:', error);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user