Merge branch 'RED-10182' into 'master'
RED-10182: fixed scrolling to annotation in workload upon selection. See merge request redactmanager/red-ui!613
This commit is contained in:
commit
6aea290693
@ -308,7 +308,7 @@ 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) {
|
||||
return;
|
||||
}
|
||||
const elements: HTMLElement[] = annotationsElement.nativeElement.querySelectorAll(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user