Skip to content
Snippets Groups Projects
Commit d3c77c84 authored by Saúl Ibarra Corretgé's avatar Saúl Ibarra Corretgé Committed by Hristo Terezov
Browse files

Add "about" to help menu

parent c3d5c8e6
No related merge requests found
export default {
/**
* The URL with extra information about the app / service.
*/
aboutURL: 'https://jitsi.org/what-is-jitsi/',
/**
* Application name.
*/
......@@ -16,12 +21,12 @@ export default {
feedbackURL: 'mailto:support@jitsi.org',
/**
* The url of Privacy Policy Page.
* The URL of Privacy Policy Page.
*/
privacyPolicyURL: 'https://jitsi.org/meet/privacy',
/**
* The url of Terms and Conditions Page.
* The URL of Terms and Conditions Page.
*/
termsAndConditionsURL: 'https://jitsi.org/meet/terms'
};
......@@ -32,12 +32,15 @@ export default class HelpButton extends Component< *, State> {
droplistOpen: false
};
this._onAbout = openExternalLink.bind(undefined, config.aboutURL);
this._onIconClick = this._onIconClick.bind(this);
this._onPrivacyOptionClick = this._onPrivacyOptionClick.bind(this);
this._onTermsOptionClick = this._onTermsOptionClick.bind(this);
this._onSendFeedback = this._onSendFeedback.bind(this);
}
_onAbout: (*) => void;
_onIconClick: (*) => void;
/**
......@@ -107,6 +110,9 @@ export default class HelpButton extends Component< *, State> {
<Item onActivate = { this._onSendFeedback }>
Send Feedback
</Item>
<Item onActivate = { this._onAbout }>
About
</Item>
</Group>
</Droplist>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment