fix: 'Never viewed' sometimes appears for document creators

This commit is contained in:
Tom Moor
2022-02-18 08:55:38 -08:00
parent b9c7694b21
commit 72ca231931

View File

@@ -125,6 +125,9 @@ function DocumentMeta({
}
if (!lastViewedAt) {
if (lastUpdatedByCurrentUser) {
return null;
}
return (
<Viewed>
&nbsp;<Modified highlight>{t("Never viewed")}</Modified>