mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01: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:
committed by
Copybot
parent
16917ff6ed
commit
7edff3da22
@@ -48,7 +48,10 @@ export default {
|
|||||||
)
|
)
|
||||||
if (Array.isArray(message)) {
|
if (Array.isArray(message)) {
|
||||||
entry.message = message[0]
|
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 {
|
} else {
|
||||||
entry.message = message
|
entry.message = message
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user