diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-07-29 21:23:26 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-07-29 21:23:26 -0400 |
commit | 1723fed27c615ced10b5bf9648f86f923cf61a42 (patch) | |
tree | 0e5b6e466d3ea98af0b4a96ad0b6e4bf84fa42ca /src/client/views/nodes/ButtonBox.tsx | |
parent | 2514917040d24c04a489905c7a1fe4d10013fd31 (diff) |
added button titles. made summary's autoHeight
Diffstat (limited to 'src/client/views/nodes/ButtonBox.tsx')
-rw-r--r-- | src/client/views/nodes/ButtonBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ButtonBox.tsx b/src/client/views/nodes/ButtonBox.tsx index d2c23fdab..e2c559c9a 100644 --- a/src/client/views/nodes/ButtonBox.tsx +++ b/src/client/views/nodes/ButtonBox.tsx @@ -70,7 +70,7 @@ export class ButtonBox extends DocComponent<FieldViewProps, ButtonDocument>(Butt render() { return ( <div className="buttonBox-outerDiv" onContextMenu={this.onContextMenu}> - <button className="buttonBox-mainButton" onClick={this.onClick}>{this.Document.text || "Button"}</button> + <button className="buttonBox-mainButton" onClick={this.onClick}>{this.Document.text || this.Document.title || "Button"}</button> </div> ); } |