diff options
author | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-12-03 01:21:46 -0800 |
---|---|---|
committer | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-12-03 01:21:46 -0800 |
commit | 644c3cb25c27cf3d4b8047f9223c4797a9a29ea0 (patch) | |
tree | 2b54b631d975ff1bcf4d6cee48c981302e8756c7 /src/client/views/nodes/LinkBox.tsx | |
parent | c352e3535636269243e26156c99d0438a3177c37 (diff) | |
parent | 3b045d03656383df81515485032bfda9e2b16409 (diff) |
pull
Diffstat (limited to 'src/client/views/nodes/LinkBox.tsx')
-rw-r--r-- | src/client/views/nodes/LinkBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/LinkBox.tsx b/src/client/views/nodes/LinkBox.tsx index 64ae1051b..913c07eb2 100644 --- a/src/client/views/nodes/LinkBox.tsx +++ b/src/client/views/nodes/LinkBox.tsx @@ -17,7 +17,7 @@ export class LinkBox extends ViewBoxBaseComponent<FieldViewProps, LinkDocument>( public static LayoutString(fieldKey: string) { return FieldView.LayoutString(LinkBox, fieldKey); } render() { return <div className={`linkBox-container${this.active() ? "-interactive" : ""}`} - style={{ background: this.props.backgroundColor?.(this.props.Document, this.props.renderDepth) }} > + style={{ background: this.props.styleProvider?.(this.props.Document, this.props.renderDepth, "backgroundColor", this.props.layerProvider) }} > <CollectionTreeView {...this.props} ChromeHeight={returnZero} |