Updated notifications table
Deploy Frontend / build-and-deploy (push) Failing after 28s
Details
Deploy Frontend / build-and-deploy (push) Failing after 28s
Details
This commit is contained in:
parent
13500e8b38
commit
53769e50c8
|
|
@ -82,7 +82,7 @@ export default function NotificationDetailsDrawer({ notificationId, opened, onCl
|
||||||
<DataTable
|
<DataTable
|
||||||
columns={columns}
|
columns={columns}
|
||||||
rows={notification.recipients || []}
|
rows={notification.recipients || []}
|
||||||
getRowId={(r) => r.id}
|
getRowId={(r) => r.id!}
|
||||||
minWidth={400}
|
minWidth={400}
|
||||||
empty={{ title: 'Нет получателей' }}
|
empty={{ title: 'Нет получателей' }}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ export default function NotificationsHistoryTable() {
|
||||||
<DataTable
|
<DataTable
|
||||||
columns={columns}
|
columns={columns}
|
||||||
rows={data?.data ?? []}
|
rows={data?.data ?? []}
|
||||||
getRowId={(r) => r.id}
|
getRowId={(r) => r.id!}
|
||||||
loading={isLoading}
|
loading={isLoading}
|
||||||
refreshing={isFetching}
|
refreshing={isFetching}
|
||||||
onRowClick={(r) => setSelectedId(r.id)}
|
onRowClick={(r) => setSelectedId(r.id)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue