diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-27 12:51:45 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-27 12:51:45 -0400 |
| commit | 3eac88792e7b11f731aac9270a918b31c58ec83e (patch) | |
| tree | 67807e2a144a1f0dd925c7d6a6a3b8b6160ef17c /src/client/views/collections/CollectionView.tsx | |
| parent | 0815f2b5da9205b46d232df10fba6a36c560cdb8 (diff) | |
switched back to recentlyClosed from inactive. fixed adding tag to multiple document seleciton.
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index a7361bc9c..f028b797c 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -198,7 +198,7 @@ export class CollectionView extends Touchable<FieldViewProps & CollectionViewCus const value = DocListCast(targetDataDoc[this.props.fieldKey]); const toRemove = value.filter(v => docs.includes(v)); if (toRemove.length !== 0) { - const recent = Cast(Doc.UserDoc().myInactiveDocs, Doc) as Doc; + const recent = Cast(Doc.UserDoc().myRecentlyClosedDocs, Doc) as Doc; toRemove.forEach(doc => { Doc.RemoveDocFromList(targetDataDoc, this.props.fieldKey, doc); recent && Doc.AddDocToList(recent, "data", doc, undefined, true, true); |
