mirror of
https://github.com/temetro/temetro.git
synced 2026-08-19 06:36:21 +00:00
frontend: show lab permission row in care-team employee dialog
CLINICAL_RESOURCES includes "lab" but the employee detail dialog only mapped patient/appointment/prescription/task, so the lab row rendered as the raw i18n key with no icon. Add a FlaskConical icon and a "Lab results" label. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import {
|
||||
CalendarDays,
|
||||
FlaskConical,
|
||||
ListChecks,
|
||||
Pill,
|
||||
Trash2,
|
||||
@@ -41,6 +42,7 @@ const RESOURCE_ICONS: Record<string, React.ReactNode> = {
|
||||
appointment: <CalendarDays className="size-4" />,
|
||||
prescription: <Pill className="size-4" />,
|
||||
task: <ListChecks className="size-4" />,
|
||||
lab: <FlaskConical className="size-4" />,
|
||||
};
|
||||
|
||||
// One row of /api/staff — shared with the Care Team panel.
|
||||
|
||||
Reference in New Issue
Block a user