mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 09:03:49 -07:00
New: Release title column in queue table
This commit is contained in:
parent
77293cf8ae
commit
909140988f
3 changed files with 16 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue