mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-11-24 08:42:24 +02: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