aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionView.tsx
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-08-12 00:03:18 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-08-12 00:03:18 +0530
commit6cc1e1df5c4809ca0c31b40f11a6d02cf3b3dc04 (patch)
tree484e09d0eb70bbf244b1a720bb92c74d43ea8f45 /src/client/views/collections/CollectionView.tsx
parentd477d588dded39417f16de716abc9daf766ff61d (diff)
minor changes
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
-rw-r--r--src/client/views/collections/CollectionView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx
index 852826ebc..555db7e1a 100644
--- a/src/client/views/collections/CollectionView.tsx
+++ b/src/client/views/collections/CollectionView.tsx
@@ -203,6 +203,7 @@ export class CollectionView extends Touchable<FieldViewProps & CollectionViewCus
toRemove.forEach(doc => {
Doc.RemoveDocFromList(targetDataDoc, this.props.fieldKey, doc);
recent && Doc.AddDocToList(recent, "data", doc, undefined, true, true);
+ doc.deleted = true;
});
return true;
}