mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #712 - multi-version grouping
This commit is contained in:
parent
902d3a3649
commit
02a810cf1e
12 changed files with 163 additions and 304 deletions
|
@ -208,7 +208,9 @@
|
|||
|
||||
items.push({ type: 'link', text: 'Images', url: 'edititemimages.html?id=' + id });
|
||||
|
||||
if (elem.getAttribute('data-alternateversioncount') != '0') {
|
||||
var versionCount = parseInt(elem.getAttribute('data-mediaversioncount') || '0');
|
||||
|
||||
if (versionCount > 1) {
|
||||
|
||||
items.push({ type: 'divider' });
|
||||
items.push({ type: 'header', text: 'Manage' });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue