1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +02:00

fix: add null check for dueDate

This commit is contained in:
Ivar Conradi Østhus 2021-06-07 16:07:24 +02:00
parent 95b58fdb41
commit 39de00f2fe

View File

@ -59,7 +59,7 @@ function InvoiceList({
{item.status}
</TableCell>
<TableCell style={{ textAlign: 'left' }}>
{formatDateWithLocale(
{ item.dueDate && formatDateWithLocale(
item.dueDate,
location.locale
)}