forked from DebaucheryLibrarian/traxxx
Showing scene and channel count on entity page and tile.
This commit is contained in:
@@ -117,6 +117,10 @@ function curateEntity(entity, parent, releases) {
|
||||
if (entity.parent || parent) curatedEntity.parent = curateEntity(entity.parent || parent);
|
||||
if (releases) curatedEntity.releases = releases.map(release => curateRelease(release));
|
||||
|
||||
if (entity.connection) {
|
||||
curatedEntity.sceneTotal = entity.connection.totalCount;
|
||||
}
|
||||
|
||||
return curatedEntity;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user