fix: Views should be recorded for drafts closes #2862

This commit is contained in:
Tom Moor
2021-12-17 16:27:06 -08:00
parent 8b73f98b9a
commit e7c3028ef2
2 changed files with 3 additions and 5 deletions

View File

@@ -276,7 +276,7 @@ export default class Document extends BaseModel {
@action
view = () => {
// we don't record views for documents in the trash
if (this.isDeleted || !this.publishedAt) {
if (this.isDeleted) {
return;
}