mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02: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)) {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user