From f5ab1d8e8a2c70a049d2ab48006adbc71232a097 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Sat, 29 Nov 2025 20:16:41 -0800 Subject: [PATCH] hide grid from certain list configs --- .../now-playing/components/play-queue-list-controls.tsx | 8 +++++++- .../playlist-detail-song-list-header-filters.tsx | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/renderer/features/now-playing/components/play-queue-list-controls.tsx b/src/renderer/features/now-playing/components/play-queue-list-controls.tsx index cf0db9c58..ea86406a7 100644 --- a/src/renderer/features/now-playing/components/play-queue-list-controls.tsx +++ b/src/renderer/features/now-playing/components/play-queue-list-controls.tsx @@ -11,7 +11,7 @@ import { usePlayerSong, usePlayerStoreBase } from '/@/renderer/store'; import { ActionIcon } from '/@/shared/components/action-icon/action-icon'; import { Group } from '/@/shared/components/group/group'; import { QueueSong } from '/@/shared/types/domain-types'; -import { ItemListKey } from '/@/shared/types/types'; +import { ItemListKey, ListDisplayType } from '/@/shared/types/types'; interface PlayQueueListOptionsProps { handleSearch: (value: string) => void; @@ -138,6 +138,12 @@ export const PlayQueueListControls = ({ value={searchTerm} /> diff --git a/src/renderer/features/playlists/components/playlist-detail-song-list-header-filters.tsx b/src/renderer/features/playlists/components/playlist-detail-song-list-header-filters.tsx index 9e8bbf1b9..17884ac06 100644 --- a/src/renderer/features/playlists/components/playlist-detail-song-list-header-filters.tsx +++ b/src/renderer/features/playlists/components/playlist-detail-song-list-header-filters.tsx @@ -14,7 +14,7 @@ import { Divider } from '/@/shared/components/divider/divider'; import { Flex } from '/@/shared/components/flex/flex'; import { Group } from '/@/shared/components/group/group'; import { LibraryItem, SongListSort, SortOrder } from '/@/shared/types/domain-types'; -import { ItemListKey } from '/@/shared/types/types'; +import { ItemListKey, ListDisplayType } from '/@/shared/types/types'; export const PlaylistDetailSongListHeaderFilters = () => { const { playlistId } = useParams() as { playlistId: string }; @@ -52,6 +52,12 @@ export const PlaylistDetailSongListHeaderFilters = () => {