mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
support image stubbing
This commit is contained in:
parent
e6020421a1
commit
4057bdef32
1 changed files with 4 additions and 0 deletions
|
@ -206,6 +206,10 @@
|
||||||
var index = parseInt(card.getAttribute('data-index'));
|
var index = parseInt(card.getAttribute('data-index'));
|
||||||
var virtualFolder = virtualFolders[index];
|
var virtualFolder = virtualFolders[index];
|
||||||
|
|
||||||
|
if (!virtualFolder.ItemId) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
require(['components/imageeditor/imageeditor'], function () {
|
require(['components/imageeditor/imageeditor'], function () {
|
||||||
|
|
||||||
ImageEditor.show(virtualFolder.ItemId, {
|
ImageEditor.show(virtualFolder.ItemId, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue