You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-07-17 01:32:29 +02:00
missingThumbnails never can be null. It is not needed to delete it.
#437
This commit is contained in:
@ -164,10 +164,6 @@ export class ContentWrapper {
|
||||
}
|
||||
}
|
||||
|
||||
if (m.missingThumbnails === 0) {
|
||||
delete m.missingThumbnails;
|
||||
}
|
||||
|
||||
if (MediaDTOUtils.isPhoto(m)) {
|
||||
delete (m as VideoDTO).metadata.bitRate;
|
||||
delete (m as VideoDTO).metadata.duration;
|
||||
|
Reference in New Issue
Block a user