mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
missingThumbnails never can be null. It is not needed to delete it.
#437
This commit is contained in:
parent
849ebbec9e
commit
3fdc08942a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user