New: Release title column in queue

This commit is contained in:
Mark McDowall 2019-03-23 12:17:03 -07:00
parent 81d3f35034
commit b63cbbdaaa
3 changed files with 16 additions and 0 deletions

View File

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

View File

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

View File

@ -146,6 +146,8 @@ namespace Sonarr.Api.V3.Queue
return q => q.Status;
case "series.sortTitle":
return q => q.Series?.SortTitle;
case "title":
return q => q.Title;
case "episode":
return q => q.Episode;
case "episode.airDateUtc":