fix: 'Never viewed' sometimes appears for document creators
This commit is contained in:
@@ -125,6 +125,9 @@ function DocumentMeta({
|
||||
}
|
||||
|
||||
if (!lastViewedAt) {
|
||||
if (lastUpdatedByCurrentUser) {
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
<Viewed>
|
||||
• <Modified highlight>{t("Never viewed")}</Modified>
|
||||
|
||||
Reference in New Issue
Block a user