New: Release title column in queue table

pull/6/head
Qstick 6 years ago
parent 77293cf8ae
commit 909140988f

@ -230,6 +230,14 @@ class QueueRow extends Component {
); );
} }
if (name === 'title') {
return (
<TableRowCell key={name}>
{title}
</TableRowCell>
);
}
if (name === 'estimatedCompletionTime') { if (name === 'estimatedCompletionTime') {
return ( return (
<TimeleftCell <TimeleftCell

@ -110,6 +110,12 @@ export const defaultState = {
isSortable: true, isSortable: true,
isVisible: false isVisible: false
}, },
{
name: 'title',
label: 'Release Title',
isSortable: true,
isVisible: false
},
{ {
name: 'estimatedCompletionTime', name: 'estimatedCompletionTime',
label: 'Timeleft', label: 'Timeleft',

@ -139,6 +139,8 @@ namespace Lidarr.Api.V1.Queue
return q => q.Status; return q => q.Status;
case "artist.sortName": case "artist.sortName":
return q => q.Artist?.SortName; return q => q.Artist?.SortName;
case "title":
return q => q.Title;
case "album": case "album":
return q => q.Album; return q => q.Album;
case "album.title": case "album.title":

Loading…
Cancel
Save