[WEB-1986] chore: Build Fix, project page import (#5356)
* chore: seperated project components for CE * chore: splitted the code for project creation form * fix: code structure optimization * fix: project page root moved * fix: synced with preview * fix: component splitting and refactoring * fix: build error * fix: import error
This commit is contained in:
parent
91693b2269
commit
041f2b16c3
4 changed files with 5 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import ProjectPageRoot from "@/plane-web/components/projects/page";
|
||||
import { ProjectPageRoot } from "@/plane-web/components/projects/page";
|
||||
|
||||
const ProjectsPage = () => <ProjectPageRoot />;
|
||||
export default ProjectsPage;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import ProjectPageRoot from "@/plane-web/components/projects/page";
|
||||
import { ProjectPageRoot } from "@/plane-web/components/projects/page";
|
||||
|
||||
const ProjectsPage = () => <ProjectPageRoot />;
|
||||
export default ProjectsPage;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
import Root from "@/components/project/root";
|
||||
|
||||
const ProjectPageRoot = () => <Root />;
|
||||
|
||||
export default ProjectPageRoot;
|
||||
export const ProjectPageRoot = () => <Root />;
|
||||
|
|
|
|||
|
|
@ -60,6 +60,8 @@ const Root = observer(() => {
|
|||
useEffect(() => {
|
||||
if (pathname.includes("/archives")) {
|
||||
updateDisplayFilters(workspaceSlug.toString(), { archived_projects: true });
|
||||
} else {
|
||||
updateDisplayFilters(workspaceSlug.toString(), { archived_projects: false });
|
||||
}
|
||||
}, [pathname]);
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue