From 978fea5dde73f5172e413d2f2aa382b5622f8f1e Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Wed, 7 Oct 2020 18:50:22 -0700 Subject: [PATCH] Hide collections tab for music libraries --- data/interfaces/default/library.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/data/interfaces/default/library.html b/data/interfaces/default/library.html index f1e66f07..24b2bd99 100644 --- a/data/interfaces/default/library.html +++ b/data/interfaces/default/library.html @@ -94,7 +94,9 @@ DOCUMENTATION :: END % if _session['user_group'] == 'admin':
  • Media Info
  • % endif + % if data['section_type'] != 'artist':
  • Collections
  • + % endif
  • Playlists
  • % if _session['user_group'] == 'admin':
  • Export
  • @@ -310,6 +312,7 @@ DOCUMENTATION :: END % endif + % if data['section_type'] != 'artist':
    @@ -357,6 +360,7 @@ DOCUMENTATION :: END
    + % endif
    @@ -583,7 +587,9 @@ DOCUMENTATION :: END $("#refresh-history-list").click(function () { history_table.draw(); }); - + +% if data['section_type'] != 'artist': + +% endif +