Merge pull request #389 from shall0pass/help_button
Add a help button to the menu
This commit is contained in:
commit
29124f624b
1 changed files with 4 additions and 0 deletions
|
@ -397,6 +397,9 @@ const MenuButton = withRouter(function MenuButton({ history }) {
|
||||||
case 'settings':
|
case 'settings':
|
||||||
history.push('/settings');
|
history.push('/settings');
|
||||||
break;
|
break;
|
||||||
|
case 'help':
|
||||||
|
window.open('https://actualbudget.github.io/docs', '_blank');
|
||||||
|
break;
|
||||||
case 'close':
|
case 'close':
|
||||||
dispatch(closeBudget());
|
dispatch(closeBudget());
|
||||||
break;
|
break;
|
||||||
|
@ -411,6 +414,7 @@ const MenuButton = withRouter(function MenuButton({ history }) {
|
||||||
{ name: 'repair-splits', text: 'Repair split transactions' },
|
{ name: 'repair-splits', text: 'Repair split transactions' },
|
||||||
Menu.line,
|
Menu.line,
|
||||||
{ name: 'settings', text: 'Settings' },
|
{ name: 'settings', text: 'Settings' },
|
||||||
|
{ name: 'help', text: 'Help' },
|
||||||
{ name: 'close', text: 'Close File' }
|
{ name: 'close', text: 'Close File' }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue