feat(dashboard): Recent denials row drillable to /claims?claim=ID
This commit is contained in:
@@ -350,7 +350,14 @@ export function Dashboard() {
|
|||||||
{topDenials.map((c) => (
|
{topDenials.map((c) => (
|
||||||
<li
|
<li
|
||||||
key={c.id}
|
key={c.id}
|
||||||
className="flex items-start gap-3 py-3 first:pt-0 last:pb-0"
|
onClick={() => navigate(`/claims?claim=${encodeURIComponent(c.id)}`)}
|
||||||
|
onKeyDown={(e) => {
|
||||||
|
if (e.key === "Enter") navigate(`/claims?claim=${encodeURIComponent(c.id)}`);
|
||||||
|
}}
|
||||||
|
role="button"
|
||||||
|
tabIndex={0}
|
||||||
|
aria-label={`View claim ${c.id}`}
|
||||||
|
className="drillable flex items-start gap-3 py-3 first:pt-0 last:pb-0"
|
||||||
>
|
>
|
||||||
<div className="display mono text-[12.5px] text-muted-foreground pt-0.5 w-24 shrink-0">
|
<div className="display mono text-[12.5px] text-muted-foreground pt-0.5 w-24 shrink-0">
|
||||||
{c.id}
|
{c.id}
|
||||||
|
|||||||
Reference in New Issue
Block a user