diff --git a/fe-admin/src/components/pe/PeListPanel.tsx b/fe-admin/src/components/pe/PeListPanel.tsx index 7ed33b1..f7bea17 100644 --- a/fe-admin/src/components/pe/PeListPanel.tsx +++ b/fe-admin/src/components/pe/PeListPanel.tsx @@ -38,7 +38,7 @@ export function PeListPanel({ showCreateButton = false, onCreate, onEditClick, - forcedPhase, + editableOnly = false, }: { typeFilter: number | null pendingMe?: boolean diff --git a/fe-admin/src/components/pe/PeWorkspaceCreateView.tsx b/fe-admin/src/components/pe/PeWorkspaceCreateView.tsx index 3d13fde..2c6feee 100644 --- a/fe-admin/src/components/pe/PeWorkspaceCreateView.tsx +++ b/fe-admin/src/components/pe/PeWorkspaceCreateView.tsx @@ -16,10 +16,7 @@ import { Label } from '@/components/ui/Label' import { Select } from '@/components/ui/Select' import { api } from '@/lib/api' import { getErrorMessage } from '@/lib/apiError' -import { - PurchaseEvaluationType, - PurchaseEvaluationTypeLabel, -} from '@/types/purchaseEvaluation' +import { PurchaseEvaluationTypeLabel } from '@/types/purchaseEvaluation' import { BudgetPhase, type BudgetListItem } from '@/types/budget' import type { Paged, Project } from '@/types/master' diff --git a/fe-user/src/components/pe/PeListPanel.tsx b/fe-user/src/components/pe/PeListPanel.tsx index 7ed33b1..f7bea17 100644 --- a/fe-user/src/components/pe/PeListPanel.tsx +++ b/fe-user/src/components/pe/PeListPanel.tsx @@ -38,7 +38,7 @@ export function PeListPanel({ showCreateButton = false, onCreate, onEditClick, - forcedPhase, + editableOnly = false, }: { typeFilter: number | null pendingMe?: boolean diff --git a/fe-user/src/components/pe/PeWorkspaceCreateView.tsx b/fe-user/src/components/pe/PeWorkspaceCreateView.tsx index 3d13fde..2c6feee 100644 --- a/fe-user/src/components/pe/PeWorkspaceCreateView.tsx +++ b/fe-user/src/components/pe/PeWorkspaceCreateView.tsx @@ -16,10 +16,7 @@ import { Label } from '@/components/ui/Label' import { Select } from '@/components/ui/Select' import { api } from '@/lib/api' import { getErrorMessage } from '@/lib/apiError' -import { - PurchaseEvaluationType, - PurchaseEvaluationTypeLabel, -} from '@/types/purchaseEvaluation' +import { PurchaseEvaluationTypeLabel } from '@/types/purchaseEvaluation' import { BudgetPhase, type BudgetListItem } from '@/types/budget' import type { Paged, Project } from '@/types/master'