diff --git a/apps/red-ui/src/app/modules/shared/components/annotation-icon/annotation-icon.component.ts b/apps/red-ui/src/app/modules/shared/components/annotation-icon/annotation-icon.component.ts index 0dfde5895..244e29d04 100644 --- a/apps/red-ui/src/app/modules/shared/components/annotation-icon/annotation-icon.component.ts +++ b/apps/red-ui/src/app/modules/shared/components/annotation-icon/annotation-icon.component.ts @@ -33,6 +33,6 @@ export class AnnotationIconComponent implements OnInit { } public get backgroundColor() { - return this.color || this.dictType.hexColor; + return this.color || this.dictType?.hexColor; } }