mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +00:00
fix(ui): link the adherence tile straight to the medication wizard and drop dead rail rules
The empty adherence tile linked to the retired /medications/new route, which only redirects. The sidebar's short-touch rules keyed on a touch screen at most 520 px tall, where the phone shell hides the rail, so they could never apply.
This commit is contained in:
1 parent
c1144b3c4c
commit
04084dd6e2
4 files changed
+61
-16
No files matched your search
@@ -564,7 +564,7 @@ export function MedicationComplianceChart({
|
||||
action={
|
||||
canWriteDomain("medications") ? (
|
||||
<Button asChild size="sm">
|
||||
<Link href="/medications/new">
|
||||
<Link href="/medications?new=1">
|
||||
{t("charts.medicationsEmptyAction")}
|
||||
</Link>
|
||||
</Button>
|
||||
|
||||
Reference in new issue
Block a user