notify router: bound the deliveries log append, note doubled retry rows
This commit is contained in:
parent
78c48272ee
commit
f0a80c9812
5 changed files with 129 additions and 13 deletions
|
|
@ -51,11 +51,14 @@ export function Deliveries({ rows }: { rows: Delivery[] }) {
|
|||
if (rows.length === 0) return <p>no deliveries yet</p>;
|
||||
const placed = rows.map((d, place) => ({ ...d, place }));
|
||||
return (
|
||||
<Table
|
||||
columns={COLUMNS}
|
||||
rows={placed}
|
||||
rowKey={(d) => String(d.place)}
|
||||
storageKey="swarm-ui:notifications:deliveries-filters"
|
||||
/>
|
||||
<>
|
||||
<Table
|
||||
columns={COLUMNS}
|
||||
rows={placed}
|
||||
rowKey={(d) => String(d.place)}
|
||||
storageKey="swarm-ui:notifications:deliveries-filters"
|
||||
/>
|
||||
<p>a retried event writes its rows again, so a retry shows twice</p>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue