* chore: workspace draft page added * chore: workspace draft issues services added * chore: workspace draft issue store added * chore: workspace draft issue filter store added * chore: issue rendering * conflicts: resolved merge conflicts * conflicts: handled draft issue store * chore: draft issue modal * chore: code optimisation * chore: ui changes * chore: workspace draft store and modal updated * chore: workspace draft issue component added * chore: updated store and workflow in draft issues * chore: updated issue draft store * chore: updated issue type cleanup in components * chore: code refactor * fix: build error * fix: quick actions * fix: update mutation * fix: create update modal * chore: commented project draft issue code --------- Co-authored-by: gurusainath <gurusainath007@gmail.com> Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
27 lines
740 B
TypeScript
27 lines
740 B
TypeScript
"use client";
|
|
|
|
import { useParams } from "next/navigation";
|
|
// components
|
|
import { PageHead } from "@/components/core";
|
|
import { WorkspaceDraftIssuesRoot } from "@/components/issues/workspace-draft";
|
|
|
|
const WorkspaceDraftPage = () => {
|
|
// router
|
|
const { workspaceSlug: routeWorkspaceSlug } = useParams();
|
|
const pageTitle = "Workspace Draft";
|
|
|
|
// derived values
|
|
const workspaceSlug = (routeWorkspaceSlug as string) || undefined;
|
|
|
|
if (!workspaceSlug) return null;
|
|
return (
|
|
<>
|
|
<PageHead title={pageTitle} />
|
|
<div className="relative h-full w-full overflow-hidden overflow-y-auto">
|
|
<WorkspaceDraftIssuesRoot workspaceSlug={workspaceSlug} />
|
|
</div>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default WorkspaceDraftPage;
|