update itemhelper.js

This commit is contained in:
Luke Pulverenti 2016-12-08 10:43:05 -05:00
parent ef8dbee498
commit 8a1cbd44c4
3 changed files with 9 additions and 5 deletions

View file

@ -190,6 +190,10 @@ define(['apphost'], function (appHost) {
}
}
return user.Policy.EnablePublicSharing && appHost.supports('sharing');
},
enableDateAddedDisplay: function(item) {
return !item.IsFolder && item.MediaType && item.Type !== 'Program' && item.Type !== 'TvChannel' && item.Type !== 'Trailer';
}
};
});