diff --git a/apps/red-ui/src/app/components/annotation-icon/annotation-icon.component.html b/apps/red-ui/src/app/components/annotation-icon/annotation-icon.component.html index b42260938..44a90abcb 100644 --- a/apps/red-ui/src/app/components/annotation-icon/annotation-icon.component.html +++ b/apps/red-ui/src/app/components/annotation-icon/annotation-icon.component.html @@ -1,3 +1,4 @@ -
- {{ typeValue.type[0] }} +
+ {{ (typeValue?.type)[0] }} +
diff --git a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html index 72fcc37e2..6f796120d 100644 --- a/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html +++ b/apps/red-ui/src/app/screens/file/file-preview-screen/file-preview-screen.component.html @@ -178,7 +178,8 @@ (click)="openAcceptSuggestionMenu($event, annotation)" *ngIf=" appStateService.isActiveProjectOwnerAndManager && - annotation.superType === 'request' + (annotation.superType === 'request' || + annotation.superType === 'request-remove') " [class.active]="isAnnotationMenuOpen(annotation)" [matMenuTriggerFor]="menu" @@ -219,7 +220,10 @@