mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update sidebar
This commit is contained in:
parent
81c132fc5c
commit
83975b7b12
5 changed files with 17 additions and 32 deletions
|
@ -1,21 +1,5 @@
|
|||
define(['datetime', 'jQuery', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function (datetime, $) {
|
||||
|
||||
function getTabs() {
|
||||
return [
|
||||
{
|
||||
href: 'about.html',
|
||||
name: Globalize.translate('TabAbout')
|
||||
},
|
||||
{
|
||||
href: 'log.html',
|
||||
name: Globalize.translate('TabLogs')
|
||||
},
|
||||
{
|
||||
href: 'supporterkey.html',
|
||||
name: Globalize.translate('TabEmbyPremiere')
|
||||
}];
|
||||
}
|
||||
|
||||
return function (view, params) {
|
||||
|
||||
view.querySelector('#chkDebugLog').addEventListener('change', function () {
|
||||
|
@ -30,7 +14,6 @@
|
|||
|
||||
view.addEventListener('viewbeforeshow', function () {
|
||||
|
||||
LibraryMenu.setTabs('helpadmin', 1, getTabs);
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
var apiClient = ApiClient;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue