fix: Archived and then deleted documents appear in archived tab after loading trash
This commit is contained in:
parent
cbd9ff2dd9
commit
5731ff34a4
|
@ -117,7 +117,7 @@ export default class DocumentsStore extends BaseStore<Document> {
|
|||
get archived(): Document[] {
|
||||
return filter(
|
||||
orderBy(this.orderedData, 'archivedAt', 'desc'),
|
||||
d => d.archivedAt
|
||||
d => d.archivedAt && !d.deletedAt
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue