Skip to content

Commit

Permalink
Removed Grid view from the initial viewModeList
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmajchrak committed Oct 16, 2023
1 parent d9c1b10 commit 53ef5e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 53ef5e7

Please sign in to comment.