Skip to content

Commit

Permalink
reduce sortable columns
Browse files Browse the repository at this point in the history
  • Loading branch information
3ll3d00d committed May 19, 2023
1 parent 582a4ea commit 5bacdaa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ui/src/components/main/Catalogue.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ const Catalogue = ({entries, setSelectedEntryId, selectedEntryId, useWide, showB
flex: 0.1,
renderCell: params => (
<Avatar {...stringAvatar(params.row.author)} variant="rounded"/>
)
),
sortable: false
},
{
field: 'title',
Expand All @@ -72,14 +73,16 @@ const Catalogue = ({entries, setSelectedEntryId, selectedEntryId, useWide, showB
{
field: 'audioTypes',
headerName: 'Audio Type',
flex: 0.4
flex: 0.4,
sortable: false
},
{
field: 'sortTitle',
},
{
field: 'edition',
headerName: 'Edition'
headerName: 'Edition',
sortable: false
}
];
if (entries.length > 0) {
Expand Down

0 comments on commit 5bacdaa

Please sign in to comment.