From 53ef5e79f11f328bb8011adb0a2428d01256a0ad Mon Sep 17 00:00:00 2001 From: milanmajchrak Date: Mon, 16 Oct 2023 15:28:02 +0200 Subject: [PATCH] Removed Grid view from the initial viewModeList --- src/app/shared/view-mode-switch/view-mode-switch.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shared/view-mode-switch/view-mode-switch.component.ts b/src/app/shared/view-mode-switch/view-mode-switch.component.ts index 95f35abf175..7c844437545 100644 --- a/src/app/shared/view-mode-switch/view-mode-switch.component.ts +++ b/src/app/shared/view-mode-switch/view-mode-switch.component.ts @@ -58,7 +58,7 @@ export class ViewModeSwitchComponent implements OnInit, OnDestroy { */ ngOnInit(): void { if (isEmpty(this.viewModeList)) { - this.viewModeList = [ViewMode.ListElement, ViewMode.GridElement]; + this.viewModeList = [ViewMode.ListElement]; } this.sub = this.searchService.getViewMode().pipe(