fix: Deleting a collection should not deleted archived documents within it automatially (#1776)

closes #1775
This commit is contained in:
Tom Moor
2021-01-07 19:46:12 -08:00
committed by GitHub
parent cbfa25fa2f
commit 34598b317d
3 changed files with 45 additions and 8 deletions

View File

@ -89,8 +89,6 @@ const Breadcrumb = ({ document, onlyText }: Props) => {
let collection = collections.get(document.collectionId);
if (!collection) {
if (!document.deletedAt) return <div />;
collection = {
id: document.collectionId,
name: t("Deleted Collection"),