fix: Share link rendering
This commit is contained in:
@ -51,6 +51,12 @@ function PublishingInfo({
|
|||||||
isDraft,
|
isDraft,
|
||||||
} = document;
|
} = 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;
|
let content;
|
||||||
|
|
||||||
if (deletedAt) {
|
if (deletedAt) {
|
||||||
|
Reference in New Issue
Block a user