Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions web/ce/components/cycles/end-cycle/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ interface Props {
projectId: string;
workspaceSlug: string;
transferrableIssuesCount: number;
cycleName: string;
}

export const EndCycleModal: React.FC<Props> = () => <></>;
1 change: 1 addition & 0 deletions web/ce/store/cycle/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export type { ICycleStore } from "@/store/cycle.store";
4 changes: 2 additions & 2 deletions web/core/components/cycles/list/cycle-list-item-action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ export const CycleListItemAction: FC<Props> = observer((props) => {

// derived values
const cycleStatus = cycleDetails.status ? (cycleDetails.status.toLocaleLowerCase() as TCycleGroups) : "draft";

const showIssueCount = useMemo(() => cycleStatus === "draft" || cycleStatus === "upcoming", [cycleStatus]);

const showTransferIssues = cycleDetails.pending_issues > 0 && cycleStatus === "completed";
const showTransferIssues = routerProjectId && cycleDetails.pending_issues > 0 && cycleStatus === "completed";

const isEditingAllowed = allowPermissions(
[EUserPermissions.ADMIN, EUserPermissions.MEMBER],
Expand Down
1 change: 1 addition & 0 deletions web/core/components/cycles/quick-actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export const CycleQuickActions: React.FC<Props> = observer((props) => {
projectId={projectId}
workspaceSlug={workspaceSlug}
transferrableIssuesCount={cycleDetails.pending_issues}
cycleName={cycleDetails.name}
/>
)}
</div>
Expand Down
2 changes: 1 addition & 1 deletion web/core/hooks/store/use-cycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useContext } from "react";
// mobx store
import { StoreContext } from "@/lib/store-context";
// types
import { ICycleStore } from "@/store/cycle.store";
import { ICycleStore } from "@/plane-web/store/cycle";

export const useCycle = (): ICycleStore => {
const context = useContext(StoreContext);
Expand Down
1 change: 1 addition & 0 deletions web/ee/store/cycle/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "@/store/cycle.store";
Loading