diff --git a/src/config/pathRoutes.ts b/src/config/pathRoutes.ts index d21fdacee..2eab0beec 100644 --- a/src/config/pathRoutes.ts +++ b/src/config/pathRoutes.ts @@ -34,7 +34,7 @@ export const pathRoutes = { createSchema: '/organizations/schemas/create', deleteOrganization:'/organizations/delete-organizations', - viewSchema: '/organizations/schemas/view-schema', + viewSchema: '/organizations/schemas', Issuance: { issue: '/organizations/credentials/issue', schema: '/organizations/credentials/issue/schemas', diff --git a/src/pages/organizations/schemas/[schemaId].astro b/src/pages/organizations/schemas/[schemaId].astro new file mode 100644 index 000000000..e672385fc --- /dev/null +++ b/src/pages/organizations/schemas/[schemaId].astro @@ -0,0 +1,9 @@ +--- +import LayoutSidebar from "../../../app/LayoutSidebar.astro"; +import ViewSchemas from "../../../components/Resources/Schema/ViewSchema"; + +const schemaId = Astro.params.schemaId; +--- + + + diff --git a/src/pages/organizations/schemas/view-schema/[schemaId].astro b/src/pages/organizations/schemas/view-schema/[schemaId].astro deleted file mode 100644 index e12ae57d9..000000000 --- a/src/pages/organizations/schemas/view-schema/[schemaId].astro +++ /dev/null @@ -1,9 +0,0 @@ ---- -import LayoutSidebar from '../../../../app/LayoutSidebar.astro'; -import ViewSchemas from '../../../../components/Resources/Schema/ViewSchema' - -const schemaId = Astro.params.schemaId; ---- - - -