[MM-44165]: When Help link is left blank Help Resources option should not be visible in the help menu (#23609)
Этот коммит содержится в:
@@ -82,11 +82,13 @@ class UserGuideDropdown extends React.PureComponent<Props, State> {
|
|||||||
onClick={this.askTheCommunityClick}
|
onClick={this.askTheCommunityClick}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<Menu.ItemExternalLink
|
{this.props.helpLink && (
|
||||||
id='helpResourcesLink'
|
<Menu.ItemExternalLink
|
||||||
url={this.props.helpLink}
|
id='helpResourcesLink'
|
||||||
text={intl.formatMessage({id: 'userGuideHelp.helpResources', defaultMessage: 'Help resources'})}
|
url={this.props.helpLink}
|
||||||
/>
|
text={intl.formatMessage({id: 'userGuideHelp.helpResources', defaultMessage: 'Help resources'})}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
{this.props.reportAProblemLink && (
|
{this.props.reportAProblemLink && (
|
||||||
<Menu.ItemExternalLink
|
<Menu.ItemExternalLink
|
||||||
id='reportAProblemLink'
|
id='reportAProblemLink'
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user