mirror of
https://github.com/navidrome/navidrome.git
synced 2025-08-10 00:52:20 +00:00
Disable album songs sorting
This commit is contained in:
@@ -163,14 +163,19 @@ const AlbumSongs = (props) => {
|
||||
source="trackNumber"
|
||||
sortBy="discNumber asc, trackNumber asc"
|
||||
label="#"
|
||||
sortable={false}
|
||||
/>
|
||||
)}
|
||||
{isDesktop && <TextField source="title" />}
|
||||
{isDesktop && <TextField source="title" sortable={false} />}
|
||||
{!isDesktop && (
|
||||
<FunctionField source="title" render={trackName} />
|
||||
<FunctionField
|
||||
source="title"
|
||||
render={trackName}
|
||||
sortable={false}
|
||||
/>
|
||||
)}
|
||||
{isDesktop && <TextField source="artist" />}
|
||||
<DurationField source="duration" />
|
||||
{isDesktop && <TextField source="artist" sortable={false} />}
|
||||
<DurationField source="duration" sortable={false} />
|
||||
</SongsDatagrid>
|
||||
)}
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user