diff options
author | bob <bcz@cs.brown.edu> | 2019-09-13 17:30:02 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-09-13 17:30:02 -0400 |
commit | dd7679295b84ceba49b8d581bb64f97cc1a86fbb (patch) | |
tree | caf3ffb20a526fc65f31900dabc1bf90bc132adb /src/client/views/collections/CollectionStackingView.tsx | |
parent | 233893698083cbcfcf39ddad8b57049aeb1ba842 (diff) |
more rule provider fixes
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index 91e10b0ac..89cccedff 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -144,6 +144,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) { DataDocument={dataDoc} showOverlays={this.overlays} renderDepth={this.props.renderDepth} + ruleProvider={this.props.Document.isRuleProvider && layoutDoc.type !== DocumentType.TEXT ? this.props.Document : this.props.ruleProvider} fitToBox={this.props.fitToBox} onClick={layoutDoc.isTemplate ? this.onClickHandler : this.onChildClickHandler} width={width} |