RED-10331: fixed missing remove-button from pdf-viewer on multi-select.
This commit is contained in:
parent
97f0230ac5
commit
ada527370f
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user