diff --git a/apps/red-ui/src/app/modules/file-preview/services/pdf-annotation-actions.service.ts b/apps/red-ui/src/app/modules/file-preview/services/pdf-annotation-actions.service.ts index 08ed74c69..45b8ec5d8 100644 --- a/apps/red-ui/src/app/modules/file-preview/services/pdf-annotation-actions.service.ts +++ b/apps/red-ui/src/app/modules/file-preview/services/pdf-annotation-actions.service.ts @@ -26,7 +26,7 @@ export class PdfAnnotationActionsService { get(annotations: AnnotationWrapper[], annotationChangesAllowed: boolean): IHeaderElement[] { const availableActions: IHeaderElement[] = []; const permissions = this.#getAnnotationsPermissions(annotations); - const sameType = annotations.every(a => a.type === annotations[0].type); + const sameType = annotations.every(a => a.superType === annotations[0].superType); // you can only resize one annotation at a time if (permissions.canResizeAnnotation && annotationChangesAllowed) {