From abf91a3a5105154eaf663af5598e15cbca9d3721 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 5 Apr 2020 22:42:55 -0700 Subject: [PATCH] fix: Share link rendering --- app/components/PublishingInfo.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/components/PublishingInfo.js b/app/components/PublishingInfo.js index b7ab8600..bb17571d 100644 --- a/app/components/PublishingInfo.js +++ b/app/components/PublishingInfo.js @@ -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) {