From 450e13ee001d8b08b79ea035fd991da43e024267 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 22 Feb 2026 16:02:44 -0800 Subject: [PATCH] Update document-list.component.ts --- .../app/components/document-list/document-list.component.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src-ui/src/app/components/document-list/document-list.component.ts b/src-ui/src/app/components/document-list/document-list.component.ts index b4d32857d..f699dbdc3 100644 --- a/src-ui/src/app/components/document-list/document-list.component.ts +++ b/src-ui/src/app/components/document-list/document-list.component.ts @@ -22,7 +22,7 @@ import { } from '@ng-bootstrap/ng-bootstrap' import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons' import { TourNgBootstrap } from 'ngx-ui-tour-ng-bootstrap' -import { filter, first, map, of, Subject, switchMap, takeUntil } from 'rxjs' +import { filter, first, map, Subject, switchMap, takeUntil } from 'rxjs' import { DEFAULT_DISPLAY_FIELDS, DisplayField, @@ -506,10 +506,6 @@ export class DocumentListComponent showOnDashboard: boolean, showInSideBar: boolean ) { - if (!showOnDashboard && !showInSideBar) { - return of(null) - } - const dashboardViewIds = this.savedViewService.dashboardViews.map( (v) => v.id )