1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

calculate item by name counts on the fly

This commit is contained in:
Luke Pulverenti 2014-03-09 18:14:44 -04:00
parent fce65d5942
commit 8fb161c4f6
25 changed files with 89 additions and 614 deletions

View file

@ -114,6 +114,13 @@
nodes.push({ attr: { id: 'libraryreport', rel: 'default', itemtype: 'libraryreport' }, data: 'Reports' });
callback(nodes);
if (!selectedId) {
if (window.location.toString().toLowerCase().indexOf('report.html') != -1) {
selectedId = 'libraryreport';
}
}
if (selectedId && nodes.filter(function (f) {