Fix sorting for videos and playlist tabs

This commit is contained in:
syeopite 2021-06-24 16:03:59 -07:00
parent f2039d6dcf
commit 46fe3c5195
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82

View file

@ -169,7 +169,7 @@
<div class="h-box">
<hr>
<% if content_type == 1 || content_type == 2 %>
<% route = content_type == 1 ? "/playlists" : "" %>
<% route = content_type == 1 ? "/videos" : "/playlists" %>
<% url = "/channel/#{channel.ucid + route}" %>
<div class="pure-menu pure-menu-horizontal" style="display: flex;">