fix: [재고현황] mapStockResponse에 lastTransactionDate 누락 추가
빌드 타입 에러 해결
This commit is contained in:
@@ -246,6 +246,7 @@ export function StockStatusList() {
|
||||
status: hasStock ? (stock?.status as StockStatusType | null) : null,
|
||||
useStatus: (item.is_active === false || item.status === 'inactive') ? 'inactive' : 'active',
|
||||
location: hasStock ? ((stock?.location as string) || '-') : '-',
|
||||
lastTransactionDate: hasStock ? (String(stock?.last_transaction_date ?? '') || '') : '',
|
||||
hasStock,
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user