Skip to content

Commit

Permalink
Merge pull request #39 from popnetwork/feature/PM-83-mark
Browse files Browse the repository at this point in the history
Implements PM-83 and PM-86
  • Loading branch information
Jack authored Nov 10, 2021
2 parents 58c4336 + df4bc72 commit 236c168
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ module.exports = {
GITHUB_URL_ISSUES: 'https://github.com/popnetwork/popnetwork-masternode/issues',
GITHUB_URL_RAW: 'https://raw.githubusercontent.com/popnetwork/popnetwork-masternode/master',
GITHUB_URL_RELEASES: 'https://github.com/popnetwork/popnetwork-masternode/releases',
QUESTION_URL: 'https://help.thepopnetwork.org/',
API_BASE_URL: 'https://masternode.popnet.work/api/v1',
DEV_API_BASE_URL: 'https://dev.popnet.work/api/v1/',

Expand Down
2 changes: 1 addition & 1 deletion src/main/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function getMenuTemplate() {
label: 'Help center',
click: () => {
const shell = require('./shell')
shell.openExternal(config.TWITTER_PAGE_URL)
shell.openExternal(config.QUESTION_URL)
}
}
]
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/components/header.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const React = require('react')

const shell = require('../../main/shell')
const config = require('../../config')
const CustomButton = require('./custom-button')
const Popover = require('material-ui/Popover').default
Expand Down Expand Up @@ -113,7 +114,7 @@ class Header extends React.Component {
img={`${config.STATIC_PATH}/Wallet.png`}
/>
}
<div className="help-button">
<div className="help-button" onClick={() => shell.openExternal(config.QUESTION_URL)}>
<img src={`${config.STATIC_PATH}/Help.png`} draggable={false} />
</div>
<div className="setting-button" onClick={this.onSetting}>
Expand Down

0 comments on commit 236c168

Please sign in to comment.