hide grid from certain list configs

This commit is contained in:
jeffvli
2025-11-29 20:16:41 -08:00
parent 7744f58c8c
commit f5ab1d8e8a
2 changed files with 14 additions and 2 deletions
@@ -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}
/>
<ListConfigMenu
displayTypes={[
{
hidden: true,
value: ListDisplayType.GRID,
},
]}
listKey={ItemListKey.SIDE_QUEUE}
tableColumnsData={SONG_TABLE_COLUMNS}
/>