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:
@ -5,7 +5,7 @@ export const GotoHotkeysEffect = () => {
|
|||||||
useGoToHotkeys('c', '/objects/companies');
|
useGoToHotkeys('c', '/objects/companies');
|
||||||
useGoToHotkeys('o', '/objects/opportunities');
|
useGoToHotkeys('o', '/objects/opportunities');
|
||||||
useGoToHotkeys('s', '/settings/profile');
|
useGoToHotkeys('s', '/settings/profile');
|
||||||
useGoToHotkeys('t', '/tasks');
|
useGoToHotkeys('t', '/objects/tasks');
|
||||||
|
|
||||||
return <></>;
|
return <></>;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -47,7 +47,7 @@ export const COMMAND_MENU_COMMANDS: Command[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'go-to-tasks',
|
id: 'go-to-tasks',
|
||||||
to: '/tasks',
|
to: '/objects/tasks',
|
||||||
label: 'Go to Tasks',
|
label: 'Go to Tasks',
|
||||||
type: CommandType.Navigate,
|
type: CommandType.Navigate,
|
||||||
firstHotKey: 'G',
|
firstHotKey: 'G',
|
||||||
|
|||||||
Reference in New Issue
Block a user