diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarProjectSection/hooks/useDashboardSidebarProjectSectionActions/useDashboardSidebarProjectSectionActions.ts b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarProjectSection/hooks/useDashboardSidebarProjectSectionActions/useDashboardSidebarProjectSectionActions.ts index f2804a3ac85..0d13244fae1 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarProjectSection/hooks/useDashboardSidebarProjectSectionActions/useDashboardSidebarProjectSectionActions.ts +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarProjectSection/hooks/useDashboardSidebarProjectSectionActions/useDashboardSidebarProjectSectionActions.ts @@ -1,5 +1,6 @@ import { alert } from "@superset/ui/atoms/Alert"; import { toast } from "@superset/ui/sonner"; +import { useNavigate } from "@tanstack/react-router"; import { useState } from "react"; import { apiTrpcClient } from "renderer/lib/api-trpc-client"; import { useDashboardSidebarState } from "renderer/routes/_authenticated/hooks/useDashboardSidebarState"; @@ -14,6 +15,7 @@ export function useDashboardSidebarProjectSectionActions({ project, }: UseDashboardSidebarProjectSectionActionsOptions) { const openModal = useOpenNewWorkspaceModal(); + const navigate = useNavigate(); const { createSection, deleteSection, @@ -57,7 +59,10 @@ export function useDashboardSidebarProjectSectionActions({ }; const handleOpenSettings = () => { - toast.info("Project settings are coming soon"); + navigate({ + to: "/settings/project/$projectId", + params: { projectId: project.id }, + }); }; const confirmRemoveFromSidebar = () => {