fix: Touch lastViewedAt timestamp on document to prevent flash of order repositioning

This commit is contained in:
Tom Moor
2022-05-05 23:51:47 -07:00
parent d9e7baf072
commit 1782c08195

View File

@@ -285,6 +285,8 @@ export default class Document extends ParanoidModel {
return;
}
this.lastViewedAt = new Date().toString();
return this.store.rootStore.views.create({
documentId: this.id,
});