mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 06:39:02 +02:00
Handle null doc lines
This commit is contained in:
@@ -72,4 +72,4 @@ module.exports = HttpController =
|
||||
}
|
||||
|
||||
_buildRawDocView: (doc)->
|
||||
return doc.lines.join("\n")
|
||||
return (doc?.lines or []).join("\n")
|
||||
|
||||
Reference in New Issue
Block a user