mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-02 08:44:52 +02:00
Add source URL to help button
This commit is contained in:
parent
1288944acb
commit
5a863ab904
|
@ -5,6 +5,11 @@ export default {
|
|||
*/
|
||||
aboutURL: 'https://jitsi.org/what-is-jitsi/',
|
||||
|
||||
/**
|
||||
* The URL to the source code repository.
|
||||
*/
|
||||
sourceURL: 'https://github.com/jitsi/jitsi-meet-electron',
|
||||
|
||||
/**
|
||||
* Application name.
|
||||
*/
|
||||
|
|
|
@ -34,6 +34,7 @@ export default class HelpButton extends Component< *, State> {
|
|||
};
|
||||
|
||||
this._onAboutClick = openExternalLink.bind(undefined, config.aboutURL);
|
||||
this._onSourceClick = openExternalLink.bind(undefined, config.sourceURL);
|
||||
this._onIconClick = this._onIconClick.bind(this);
|
||||
this._onOpenChange = this._onOpenChange.bind(this);
|
||||
this._onPrivacyClick
|
||||
|
@ -46,6 +47,8 @@ export default class HelpButton extends Component< *, State> {
|
|||
|
||||
_onAboutClick: (*) => void;
|
||||
|
||||
_onSourceClick: (*) => void;
|
||||
|
||||
_onIconClick: (*) => void;
|
||||
|
||||
/**
|
||||
|
@ -104,6 +107,9 @@ export default class HelpButton extends Component< *, State> {
|
|||
<Item onActivate = { this._onAboutClick }>
|
||||
About
|
||||
</Item>
|
||||
<Item onActivate = { this._onSourceClick }>
|
||||
Source
|
||||
</Item>
|
||||
<Item>
|
||||
Version: { version }
|
||||
</Item>
|
||||
|
|
Loading…
Reference in a new issue