Skip to content

Commit

Permalink
Fix shows not showing in watchlist
Browse files Browse the repository at this point in the history
TV shows have a `null` video property so they wouldn't appear. It was changed so that it checks if it has a `tvShow` or a `video`
  • Loading branch information
darkarp authored Oct 30, 2021
1 parent 0dc9f38 commit 0e4b3e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class WatchlistEntryController {
user == currentUser
profile == currentProfile
isDeleted == false
video != null
video != null || tvShow != null
}.list(sort: sortingColumn, order: sortingOrder)
if(!watchlistEntries){
render status: NO_CONTENT
Expand Down

0 comments on commit 0e4b3e8

Please sign in to comment.