mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
fix(measurements): label DayDrillDown GET failure as load error not save error
The per-day drill-down used measurements.saveError in its fetch-error branch, which surfaced 'Fehler beim Speichern' on a read failure. Adds a measurements.loadError key in every locale and points the GET error path at it.
This commit is contained in:
1 parent
6196d68ed1
commit
2f32776859
7 files changed
+7
-1
No files matched your search
@@ -1055,7 +1055,7 @@ function DayDrillDown({
|
||||
if (error) {
|
||||
return (
|
||||
<div className="text-destructive py-2 text-xs">
|
||||
{t("measurements.saveError")}
|
||||
{t("measurements.loadError")}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user