mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
apply suggestion change
This commit is contained in:
parent
38ac5766c8
commit
b77143797c
1 changed files with 7 additions and 7 deletions
|
@ -272,13 +272,13 @@ define(['apphost', 'globalize'], function (appHost, globalize) {
|
||||||
|
|
||||||
canRate: function (item) {
|
canRate: function (item) {
|
||||||
|
|
||||||
if (item.Type === 'Program' ||
|
if (item.Type === 'Program'
|
||||||
item.Type === 'Timer' ||
|
|| item.Type === 'Timer'
|
||||||
item.Type === 'SeriesTimer' ||
|
|| item.Type === 'SeriesTimer'
|
||||||
item.Type === 'CollectionFolder' ||
|
|| item.Type === 'CollectionFolder'
|
||||||
item.Type === 'UserView' ||
|
|| item.Type === 'UserView'
|
||||||
item.Type === 'Channel' ||
|
|| item.Type === 'Channel'
|
||||||
!item.UserData) {
|
|| !item.UserData) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue