mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 10:18:16 +00:00
feat: resolved frontend url changes and resolved ts error
This commit is contained in:
@@ -17,7 +17,6 @@ import {
|
||||
import { ROUTE_PATHS } from "@app/const/routes";
|
||||
import { ProjectPermissionActions, ProjectPermissionSub, useWorkspace } from "@app/context";
|
||||
import { useDeleteSshCa, useGetSshCaById } from "@app/hooks/api";
|
||||
import { ProjectType } from "@app/hooks/api/workspace/types";
|
||||
import { usePopUp } from "@app/hooks/usePopUp";
|
||||
|
||||
import { SshCaModal } from "../SshCasPage/components/SshCaModal";
|
||||
@@ -53,7 +52,7 @@ const Page = () => {
|
||||
|
||||
handlePopUpClose("deleteSshCa");
|
||||
navigate({
|
||||
to: `/projects/$projectId/${ProjectType.SSH}/overview` as const,
|
||||
to: "/projects/ssh/$projectId/overview",
|
||||
params: {
|
||||
projectId
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import { createFileRoute, linkOptions } from "@tanstack/react-router";
|
||||
import { SshCaByIDPage } from "./SshCaByIDPage";
|
||||
|
||||
export const Route = createFileRoute(
|
||||
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/ssh/_ssh-layout/ca/$caId"
|
||||
"/_authenticate/_inject-org-details/_org-layout/projects/ssh/$projectId/_ssh-layout/ca/$caId"
|
||||
)({
|
||||
component: SshCaByIDPage,
|
||||
beforeLoad: ({ context, params }) => {
|
||||
@@ -13,7 +13,7 @@ export const Route = createFileRoute(
|
||||
{
|
||||
label: "Certificate Authorities",
|
||||
link: linkOptions({
|
||||
to: "/projects/$projectId/ssh/cas",
|
||||
to: "/projects/ssh/$projectId/cas",
|
||||
params
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user