mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
fix: add null check for dueDate
This commit is contained in:
parent
95b58fdb41
commit
39de00f2fe
@ -59,7 +59,7 @@ function InvoiceList({
|
|||||||
{item.status}
|
{item.status}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell style={{ textAlign: 'left' }}>
|
<TableCell style={{ textAlign: 'left' }}>
|
||||||
{formatDateWithLocale(
|
{ item.dueDate && formatDateWithLocale(
|
||||||
item.dueDate,
|
item.dueDate,
|
||||||
location.locale
|
location.locale
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user