Skip to content

Commit

Permalink
Include description object
Browse files Browse the repository at this point in the history
Signed-off-by: srikant <[email protected]>
  • Loading branch information
srikant-ch5 committed Dec 18, 2024
1 parent d97e731 commit 06f9714
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class TitleEditor extends Component {
className="properties-title-editor-btn help"
data-id="help"
tip={this.props.description?.default}
link={this.props.help?.data?.description?.link ? this.props.help?.data?.description?.link : null}
link={this.props.description?.link ? this.props.description?.link : null}
tooltipLinkHandler={this.props.controller.getHandlers().tooltipLinkHandler}
direction="bottom"
showToolTipOnClick
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,13 @@
}
],
"description": {
"default": "Readonly Description"
"default": "Readonly description",
"link": {
"id": "link_for_action-buttons-panel",
"data": {
"something": "option data"
}
}
},
"help": {
"data": {
Expand Down

0 comments on commit 06f9714

Please sign in to comment.