mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
New: Add Star Rating to Album table (#365)
This commit is contained in:
parent
73157534e0
commit
18b29f8208
6 changed files with 102 additions and 2 deletions
|
@ -31,6 +31,11 @@ export const defaultState = {
|
|||
sortDirection: sortDirections.DESCENDING,
|
||||
items: [],
|
||||
pendingChanges: {},
|
||||
sortPredicates: {
|
||||
rating: function(item) {
|
||||
return item.ratings.value;
|
||||
}
|
||||
},
|
||||
|
||||
columns: [
|
||||
{
|
||||
|
@ -73,6 +78,12 @@ export const defaultState = {
|
|||
isSortable: true,
|
||||
isVisible: false
|
||||
},
|
||||
{
|
||||
name: 'rating',
|
||||
label: 'Rating',
|
||||
isSortable: true,
|
||||
isVisible: true
|
||||
},
|
||||
{
|
||||
name: 'status',
|
||||
label: 'Status',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue