add help button

This commit is contained in:
shall0pass 2022-11-11 18:06:49 -06:00
parent 12289792da
commit 9ce6f9564c

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","_self");
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' }
]; ];