1
0
Fork 0
forked from Fijxu/invidious

Add history tab in feed menu

This commit is contained in:
Fijxu 2024-02-23 17:59:55 -03:00
parent a1b32c91e0
commit c92603246e
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -1,7 +1,7 @@
<div class="feed-menu">
<% feed_menu = env.get("preferences").as(Preferences).feed_menu.dup %>
<% if !env.get?("user") %>
<% feed_menu.reject! {|item| {"Subscriptions", "Playlists"}.includes? item} %>
<% feed_menu.reject! {|item| {"Subscriptions", "Playlists", "History"}.includes? item} %>
<% end %>
<% feed_menu.each do |feed| %>
<a href="/feed/<%= feed.downcase %>" class="feed-menu-item pure-menu-heading">