fix(wip): tasks navigate to /objects/tasks with viewId (#6528)

ISSUE (BUG)

Fixes: #6523 

Description:
- [ ] Should work on Command Menu
- [ ] Should also work on Global Goto Hotkeys
- [ ] Should navigate with viewId, as when we click on Navigationbar it
is navigating with viewId.
This commit is contained in:
Nabhag Motivaras
2024-08-07 21:30:41 +05:30
committed by GitHub
parent 12e55fd5b7
commit e265efcf90
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ export const GotoHotkeysEffect = () => {
useGoToHotkeys('c', '/objects/companies');
useGoToHotkeys('o', '/objects/opportunities');
useGoToHotkeys('s', '/settings/profile');
useGoToHotkeys('t', '/tasks');
useGoToHotkeys('t', '/objects/tasks');
return <></>;
};

View File

@ -47,7 +47,7 @@ export const COMMAND_MENU_COMMANDS: Command[] = [
},
{
id: 'go-to-tasks',
to: '/tasks',
to: '/objects/tasks',
label: 'Go to Tasks',
type: CommandType.Navigate,
firstHotKey: 'G',