diff --git a/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts b/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts index ecc13ef02..04aa855e9 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/file-workload/file-workload.component.ts @@ -234,7 +234,7 @@ export class FileWorkloadComponent { return; } const elements: HTMLElement[] = this._annotationsElement.nativeElement.querySelectorAll( - `div[annotation-id="${this._firstSelectedAnnotation?.id}"].active`, + `[annotation-id="${this._firstSelectedAnnotation?.id}"].active`, ); FileWorkloadComponent._scrollToFirstElement(elements); }