RED-10517: disabled scrolling for select all annotations.
This commit is contained in:
parent
6c62c6060e
commit
d9e28e147a
@ -309,7 +309,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 cc57415de03365cd21f42efe54e8e5eb72cb699c
|
||||
Subproject commit b35084d54826ebb6da55121a893830f6dd71dd64
|
||||
Loading…
x
Reference in New Issue
Block a user