diff options
author | bobzel <zzzman@gmail.com> | 2020-09-17 02:58:34 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-17 02:58:34 -0400 |
commit | 19af1ce5d8216dd5eac3df0def1c059d7d8975ec (patch) | |
tree | 551310f03e18b0a1468db6a5d7b2053b479e1533 /src/client/views/DocumentButtonBar.tsx | |
parent | 2efd66bcef6329e4e816604ebd5a382e033dc2c6 (diff) |
changed text box headers from a template to a title bar.
Diffstat (limited to 'src/client/views/DocumentButtonBar.tsx')
-rw-r--r-- | src/client/views/DocumentButtonBar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx index 7629ed173..979b1198a 100644 --- a/src/client/views/DocumentButtonBar.tsx +++ b/src/client/views/DocumentButtonBar.tsx @@ -308,7 +308,7 @@ export class DocumentButtonBar extends React.Component<{ views: () => (DocumentV render() { if (!this.view0) return (null); - const isText = this.view0.props.Document[Doc.LayoutFieldKey(this.view0.props.Document)] instanceof RichTextField; + const isText = this.view0.props.Document[this.view0.LayoutFieldKey] instanceof RichTextField; const considerPull = isText && this.considerGoogleDocsPull; const considerPush = isText && this.considerGoogleDocsPush; return <div className="documentButtonBar"> |