Skip to content

The open alternative to Salesforce, designed for AI.

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

Nabhag Motivarase265efcf90f9
diff --git a/packages/twenty-front/src/effect-components/GotoHotkeysEffect.tsx b/packages/twenty-front/src/effect-components/GotoHotkeysEffect.tsx
index b6cecf7bd09..1109066af34 100644
--- a/packages/twenty-front/src/effect-components/GotoHotkeysEffect.tsx
+++ b/packages/twenty-front/src/effect-components/GotoHotkeysEffect.tsx
@@ -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 <></>;
};
diff --git a/packages/twenty-front/src/modules/command-menu/constants/CommandMenuCommands.ts b/packages/twenty-front/src/modules/command-menu/constants/CommandMenuCommands.ts
index 6cfc5528098..3c7f03168d9 100644
--- a/packages/twenty-front/src/modules/command-menu/constants/CommandMenuCommands.ts
+++ b/packages/twenty-front/src/modules/command-menu/constants/CommandMenuCommands.ts
@@ -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',