From 4dc5eeaf7a013d39618a1bcf6afc3ed29bf08342 Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Mon, 4 Apr 2022 14:58:15 +0300 Subject: [PATCH] RED-3752 -> Inconsistent page order in highlights view --- .../components/file-workload/file-workload.component.ts | 1 + 1 file changed, 1 insertion(+) 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 143a20401..a03ae6568 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 @@ -365,6 +365,7 @@ export class FileWorkloadComponent { } else { this.displayedPages = this.#allPages; } + this.displayedPages = this.displayedPages.sort((a, b) => a - b); return this.displayedAnnotations; }