Skip to content

Commit

Permalink
[fix]購入申請ページも作成日による年度絞り込み
Browse files Browse the repository at this point in the history
  • Loading branch information
Kubosaka committed Aug 19, 2023
1 parent ef091fc commit 8be6b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/next-project/src/pages/purchaseorders/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function PurchaseOrders(props: Props) {

const filteredPurchaseOrderViews = useMemo(() => {
return purchaseOrderViews.filter((purchaseOrderView: PurchaseOrderView) => {
return purchaseOrderView.purchaseOrder.deadline.includes(selectedYear);
return purchaseOrderView.purchaseOrder.createdAt?.includes(selectedYear);
});
}, [purchaseOrderViews, selectedYear]);

Expand Down

0 comments on commit 8be6b42

Please sign in to comment.