Start with a new copy each time
Otherwise all the map keys refer to the same object
This commit is contained in:
parent
1b93e9d1c1
commit
8067d9b9b9
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ const parseMetadataJSONText = (text: string) => {
|
|||
return undefined;
|
||||
}
|
||||
|
||||
const parsedMetadataJSON: ParsedMetadataJSON = NULL_PARSED_METADATA_JSON;
|
||||
const parsedMetadataJSON = { ...NULL_PARSED_METADATA_JSON };
|
||||
|
||||
if (
|
||||
metadataJSON["photoTakenTime"] &&
|
||||
|
|
Loading…
Add table
Reference in a new issue