diff options
| author | bobzel <zzzman@gmail.com> | 2023-04-17 15:19:13 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-04-17 15:19:13 -0400 |
| commit | 2c154f328d6556d99f21a778c8d78b41de77f5c9 (patch) | |
| tree | 200607bf64a0be390e62121aa023e1f255e2ea12 /src/client/views/collections/CollectionPileView.tsx | |
| parent | 3c8cb517c811f94dce1e3d8430e07af316642365 (diff) | |
| parent | 57983d95ceeb364e3e0a282daea13035114ddb3f (diff) | |
Merge branch 'master' into advanced-trails
Diffstat (limited to 'src/client/views/collections/CollectionPileView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionPileView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionPileView.tsx b/src/client/views/collections/CollectionPileView.tsx index ba90ed8cd..fd9b0c0ce 100644 --- a/src/client/views/collections/CollectionPileView.tsx +++ b/src/client/views/collections/CollectionPileView.tsx @@ -30,7 +30,7 @@ export class CollectionPileView extends CollectionSubView() { // pileups are designed to go away when they are empty. this._disposers.selected = reaction( () => this.childDocs.length, - num => !num && this.props.ContainingCollectionView?.removeDocument(this.props.Document) + num => !num && this.props.CollectionFreeFormDocumentView?.().props.removeDocument?.(this.props.Document) ); } componentWillUnmount() { |
