Skip to content

Commit

Permalink
Fix white screen bug
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-ismagilov committed Aug 3, 2023
1 parent 634bc05 commit 9c932a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Util/PhotoInfoHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ function ParsePhotoInfo(tags, description) {
}

function SerializePhotoInfo(photoInfo) {
if (!photoInfo) {
return [];
}
let tags = [];
for (const event of photoInfo.event) {
tags.push(TAG_EVENT + "$" + event);
Expand Down

0 comments on commit 9c932a5

Please sign in to comment.