[WEB-1843] chore: active cycles file restructuring. (#5031)
This commit is contained in:
parent
a7aa5c2ba7
commit
82fa1347d1
8 changed files with 12 additions and 3 deletions
|
|
@ -3,9 +3,10 @@
|
||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
// components
|
// components
|
||||||
import { PageHead } from "@/components/core";
|
import { PageHead } from "@/components/core";
|
||||||
import { WorkspaceActiveCyclesUpgrade } from "@/components/workspace";
|
|
||||||
// hooks
|
// hooks
|
||||||
import { useWorkspace } from "@/hooks/store";
|
import { useWorkspace } from "@/hooks/store";
|
||||||
|
// plane web components
|
||||||
|
import { WorkspaceActiveCyclesRoot } from "@/plane-web/components/active-cycles";
|
||||||
|
|
||||||
const WorkspaceActiveCyclesPage = observer(() => {
|
const WorkspaceActiveCyclesPage = observer(() => {
|
||||||
const { currentWorkspace } = useWorkspace();
|
const { currentWorkspace } = useWorkspace();
|
||||||
|
|
@ -15,7 +16,7 @@ const WorkspaceActiveCyclesPage = observer(() => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<PageHead title={pageTitle} />
|
<PageHead title={pageTitle} />
|
||||||
<WorkspaceActiveCyclesUpgrade />
|
<WorkspaceActiveCyclesRoot />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
2
web/ce/components/active-cycles/index.ts
Normal file
2
web/ce/components/active-cycles/index.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
export * from "./root";
|
||||||
|
export * from "./workspace-active-cycles-upgrade";
|
||||||
3
web/ce/components/active-cycles/root.tsx
Normal file
3
web/ce/components/active-cycles/root.tsx
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
import { WorkspaceActiveCyclesUpgrade } from "@/plane-web/components/active-cycles";
|
||||||
|
|
||||||
|
export const WorkspaceActiveCyclesRoot = () => <WorkspaceActiveCyclesUpgrade />;
|
||||||
|
|
@ -6,4 +6,3 @@ export * from "./create-workspace-form";
|
||||||
export * from "./delete-workspace-modal";
|
export * from "./delete-workspace-modal";
|
||||||
export * from "./logo";
|
export * from "./logo";
|
||||||
export * from "./send-workspace-invitation-modal";
|
export * from "./send-workspace-invitation-modal";
|
||||||
export * from "./workspace-active-cycles-upgrade";
|
|
||||||
|
|
|
||||||
2
web/ee/components/active-cycles/index.ts
Normal file
2
web/ee/components/active-cycles/index.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
export * from "./root";
|
||||||
|
export * from "./workspace-active-cycles-upgrade";
|
||||||
1
web/ee/components/active-cycles/root.tsx
Normal file
1
web/ee/components/active-cycles/root.tsx
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
export * from "ce/components/active-cycles/root";
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
export * from "ce/components/active-cycles/workspace-active-cycles-upgrade";
|
||||||
Loading…
Add table
Add a link
Reference in a new issue