mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 04:20:07 +02:00
remove selection dialog from certain list views
This commit is contained in:
@@ -677,6 +677,7 @@ const AlbumDetailSongsTable = ({ songs }: AlbumDetailSongsTableProps) => {
|
||||
enableHorizontalBorders={tableConfig.enableHorizontalBorders}
|
||||
enableRowHoverHighlight={tableConfig.enableRowHoverHighlight}
|
||||
enableSelection
|
||||
enableSelectionDialog={false}
|
||||
enableStickyGroupRows
|
||||
enableStickyHeader
|
||||
enableVerticalBorders={tableConfig.enableVerticalBorders}
|
||||
|
||||
@@ -305,6 +305,7 @@ const AlbumArtistMetadataTopSongs = ({
|
||||
/>
|
||||
</Group>
|
||||
<ItemTableList
|
||||
enableSelectionDialog={false}
|
||||
activeRowId={currentSongId}
|
||||
autoFitColumns={tableConfig.autoFitColumns}
|
||||
CellComponent={ItemTableListColumn}
|
||||
|
||||
@@ -127,6 +127,7 @@ const AlbumArtistDetailTopSongsListRoute = () => {
|
||||
enableHorizontalBorders={tableConfig.enableHorizontalBorders}
|
||||
enableRowHoverHighlight={tableConfig.enableRowHoverHighlight}
|
||||
enableSelection
|
||||
enableSelectionDialog={false}
|
||||
enableVerticalBorders={tableConfig.enableVerticalBorders}
|
||||
itemType={LibraryItem.SONG}
|
||||
onColumnReordered={handleColumnReordered}
|
||||
|
||||
@@ -169,6 +169,7 @@ export const PlayQueue = forwardRef<ItemListHandle, QueueProps>(({ listKey, sear
|
||||
enableHorizontalBorders={table.enableHorizontalBorders}
|
||||
enableRowHoverHighlight={table.enableRowHoverHighlight}
|
||||
enableSelection
|
||||
enableSelectionDialog={false}
|
||||
enableVerticalBorders={table.enableVerticalBorders}
|
||||
getRowId="_uniqueId"
|
||||
groups={groups.length > 0 ? groups : undefined}
|
||||
|
||||
@@ -55,6 +55,7 @@ export const SimilarSongsList = ({ count, song }: SimilarSongsListProps) => {
|
||||
return (
|
||||
<ErrorBoundary FallbackComponent={ErrorFallback}>
|
||||
<ItemTableList
|
||||
enableSelectionDialog={false}
|
||||
autoFitColumns={table?.autoFitColumns}
|
||||
CellComponent={ItemTableListColumn}
|
||||
columns={table?.columns || []}
|
||||
|
||||
Reference in New Issue
Block a user