From 6fcc9d34d3113b645df44b9ee5a5702bda26ccdb Mon Sep 17 00:00:00 2001 From: rene Date: Tue, 19 May 2026 18:41:44 +0200 Subject: [PATCH] =?UTF-8?q?UX:=20=C3=9Cbung=20des=20Tages=20zeigt=20'Stand?= =?UTF-8?q?=20erfassen=20=E2=86=92'=20statt=20'--'=20wenn=20kein=20Stand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/static/js/worlds.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/static/js/worlds.js b/backend/static/js/worlds.js index 94ea133..7459eeb 100644 --- a/backend/static/js/worlds.js +++ b/backend/static/js/worlds.js @@ -1280,8 +1280,7 @@ window.Worlds = (() => { try { const res = await _cachedGet(`dash_${dog.id}`, `/dogs/${dog.id}/welcome-dashboard`); const ex = res.data?.daily_exercise; - valEl.textContent = ex?.name || '—'; - // Chip-Klick mit exercise_id/name damit übungen.js direkt dorthin scrollt + valEl.textContent = ex?.name || 'Stand erfassen →'; const chip = document.getElementById('wj-exercise-chip'); if (chip) { chip.style.cursor = 'pointer'; @@ -1292,7 +1291,7 @@ window.Worlds = (() => { ); }; } - } catch { valEl.textContent = '—'; } + } catch { valEl.textContent = 'Stand erfassen →'; } } async function _loadJetztRoute() { @@ -1574,6 +1573,8 @@ window.Worlds = (() => { `;