Merge branch 'RED-10517' into 'master'
RED-10517: disabled scrolling for select all annotations. See merge request redactmanager/red-ui!729
This commit is contained in:
commit
cd2b12c35a
@ -310,7 +310,11 @@ export class FileWorkloadComponent extends AutoUnsubscribe implements OnInit, On
|
||||
@Debounce()
|
||||
scrollToSelectedAnnotation(): void {
|
||||
const annotationsElement = untracked(this._annotationsElement);
|
||||
if (this.listingService.selected.length === 0 || !annotationsElement) {
|
||||
if (
|
||||
this.listingService.selected.length === 0 ||
|
||||
!annotationsElement ||
|
||||
this.activeAnnotations().length === this.listingService.selected.length
|
||||
) {
|
||||
return;
|
||||
}
|
||||
const elements: HTMLElement[] = annotationsElement.nativeElement.querySelectorAll(
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 72e760fff8bc1adb72969b1e6e6971cdb88d55fe
|
||||
Subproject commit cbdfcf4d8fb3a63417b61604496d8fa81bdea671
|
||||
Loading…
x
Reference in New Issue
Block a user