fix: Share link rendering

This commit is contained in:
Tom Moor 2020-04-05 22:42:55 -07:00
parent 383806d155
commit abf91a3a51
1 changed files with 6 additions and 0 deletions

View File

@ -51,6 +51,12 @@ function PublishingInfo({
isDraft,
} = document;
// Prevent meta information from displaying if updatedBy is not available.
// Currently the situation where this is true is rendering share links.
if (!updatedBy) {
return null;
}
let content;
if (deletedAt) {