Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

fix(platform): open the project, not Chat, from the platform projects tables (#17082)

lina-alomarie358d4f8062f
diff --git a/packages/web/src/app/routes/platform/projects/index.tsx b/packages/web/src/app/routes/platform/projects/index.tsx
index 31fcdafafd8..46bc8615c73 100644
--- a/packages/web/src/app/routes/platform/projects/index.tsx
+++ b/packages/web/src/app/routes/platform/projects/index.tsx
@@ -30,6 +30,7 @@ import {
import { PlatformAdminProjectAlertSubscriptionBulkActions } from '@/features/projects/components/platform-admin-project-alert-subscription-bulk-actions';
import { platformHooks } from '@/hooks/platform-hooks';
import { AdminControl, adminControl } from '@/lib/admin-control';
+import { authenticationSession } from '@/lib/authentication-session';
import { formatUtils } from '@/lib/format-utils';
import { validationUtils } from '@/lib/validation-utils';
@@ -393,7 +394,9 @@ export default function ProjectsPage() {
emptyStateIcon={<Package />}
onRowClick={async (project) => {
await projectCollectionUtils.setCurrentProject(project.id);
- navigate('/');
+ navigate(
+ authenticationSession.appendProjectRoutePrefix('/automations'),
+ );
}}
filters={[
{
diff --git a/packages/web/src/features/billing/components/feature-usage/projects-usage-table.tsx b/packages/web/src/features/billing/components/feature-usage/projects-usage-table.tsx
index 7a497b6720c..78be221ef00 100644
--- a/packages/web/src/features/billing/components/feature-usage/projects-usage-table.tsx
+++ b/packages/web/src/features/billing/components/feature-usage/projects-usage-table.tsx
@@ -17,6 +17,7 @@ import { DateTimePickerWithRange } from '@/components/custom/date-time-picker-ra
import { TextWithTooltip } from '@/components/custom/text-with-tooltip';
import { billingQueries } from '@/features/billing';
import { projectCollectionUtils } from '@/features/projects';
+import { authenticationSession } from '@/lib/authentication-session';
export function ProjectsUsageTable({
platformId,
@@ -96,7 +97,7 @@ function ProjectNameLink({
const navigate = useNavigate();
const goToProjectHome = () => {
projectCollectionUtils.setCurrentProject(projectId);
- navigate('/');
+ navigate(authenticationSession.appendProjectRoutePrefix('/automations'));
};
return (
<TextWithTooltip tooltipMessage={projectName}>