diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index e43282cb..7743fd4a 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -102,28 +102,31 @@

<% if user %> -
-
- - -
+ <% playlists = PG_DB.query_all("SELECT id,title FROM playlists WHERE author = $1", user.email, as: {String, String}) %> + <% if !playlists.empty? %> + +
+ + +
- -
- - + + + + + <% end %> <% end %> <% if CONFIG.dmca_content.includes?(video.id) || CONFIG.disabled?("downloads") %>