mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 23:14:36 +00:00
Merge pull request #14995 from overleaf/jdt-detach-breaks-on-clone
remove messageComponent until we handle markup GitOrigin-RevId: d4220277d3cb16eda32325eb3ba2f70102e36d2c
This commit is contained in:
parent
5a9b868bb6
commit
18726f739d
1 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,10 @@ export default {
|
|||
)
|
||||
if (Array.isArray(message)) {
|
||||
entry.message = message[0]
|
||||
entry.messageComponent = message[1]
|
||||
// removing the messageComponent, as the markup possible in it was causing crashes when
|
||||
// attempting to broadcast it in the detach-context (cant structuredClone an html node)
|
||||
// see https://github.com/overleaf/internal/discussions/15031 for context
|
||||
// entry.messageComponent = message[1]
|
||||
} else {
|
||||
entry.message = message
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue