diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-04 11:24:36 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-04 11:24:36 -0400 |
| commit | d4c41208367775ccfb530418137a4de7c8d62472 (patch) | |
| tree | d0d647d90f15cdce77dabf233d0dcf2da157303a /src/client/views/nodes/DocumentLinksButton.tsx | |
| parent | 4931f089160d6de5f34d8956c6106b6be1ec7d6f (diff) | |
| parent | 78c99446f284f7ac8e5443f77227ae5edbfd2aaf (diff) | |
Merge branch 'master' into schema_search
Diffstat (limited to 'src/client/views/nodes/DocumentLinksButton.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentLinksButton.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentLinksButton.tsx b/src/client/views/nodes/DocumentLinksButton.tsx index 31efaaaa6..4713ce447 100644 --- a/src/client/views/nodes/DocumentLinksButton.tsx +++ b/src/client/views/nodes/DocumentLinksButton.tsx @@ -202,7 +202,7 @@ export class DocumentLinksButton extends React.Component<DocumentLinksButtonProp link : links.length} </div> - {this.props.InMenu && !this.props.StartLink && + {DocumentLinksButton.StartLink && this.props.InMenu && !this.props.StartLink && DocumentLinksButton.StartLink !== this.props.View ? <div className={"documentLinksButton-endLink"} style={{ width: this.props.InMenu ? "20px" : "30px", height: this.props.InMenu ? "20px" : "30px", @@ -218,7 +218,7 @@ export class DocumentLinksButton extends React.Component<DocumentLinksButtonProp </div>; return (!links.length) && !this.props.AlwaysOn ? (null) : - this.props.InMenu && (this.props.StartLink || DocumentLinksButton.StartLink) ? + this.props.InMenu ? <Tooltip title={<><div className="dash-tooltip">{title}</div></>}> {linkButton} </Tooltip> : !!!DocumentLinksButton.EditLink && !this.props.InMenu ? |
