Merge pull request #389 from shall0pass/help_button

Add a help button to the menu
This commit is contained in:
Rich Howell 2022-11-12 15:05:08 +00:00 committed by GitHub
commit 29124f624b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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' }
]; ];