From 990bc2dfeccd07db6a541fce098ffa8543176ec5 Mon Sep 17 00:00:00 2001 From: Timo Date: Thu, 6 May 2021 17:52:55 +0300 Subject: [PATCH] fixed minor fallback issue --- .../components/annotation-icon/annotation-icon.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }