阅片比例尺工具问题修复
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
ecb146bd67
commit
7d57f6b5f6
|
|
@ -58,7 +58,7 @@ class ScaleOverlayTool extends AnnotationDisplayTool {
|
|||
}
|
||||
enabledElements.forEach((element) => {
|
||||
const { viewport } = element;
|
||||
if (!viewportsWithAnnotations.includes(viewport.id) || annotations.length === 0) {
|
||||
if (!viewportsWithAnnotations.includes(viewport.id) || annotations.length === 0 || !annotation) {
|
||||
const newAnnotation = {
|
||||
metadata: {
|
||||
toolName: this.getToolName(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue