提交 27263557 编写于 作者: A Alex Dima

Fixes #5325: Guard against markers without a message

上级 b02c4fac
...@@ -155,7 +155,7 @@ class ModelMarkerHandler { ...@@ -155,7 +155,7 @@ class ModelMarkerHandler {
htmlMessage = [marker.message]; htmlMessage = [marker.message];
} }
if (marker.source) { if (htmlMessage && marker.source) {
htmlMessage.unshift({ isText: true, text: `[${marker.source}] ` }); htmlMessage.unshift({ isText: true, text: `[${marker.source}] ` });
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册