From 61d07d09b981931d07c2c4f12c7473b53621f8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20K=C3=BChn?= Date: Fri, 1 May 2026 10:26:05 +0200 Subject: [PATCH] Fix Quick-Buchen visibility: always show on negative buffer, hide when buf >= daily MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rules: - buf < 0 (behind) → always visible to catch up - buf >= daily (more than a day ahead) → hidden - otherwise → visible only if today not yet reached daily goal Co-Authored-By: Claude Sonnet 4.6 --- public/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app.js b/public/app.js index 42cec9b..a5a8924 100644 --- a/public/app.js +++ b/public/app.js @@ -773,7 +773,7 @@ function buildCard(g){ // ── Quick-Buchen ────────────────────────────────────────────────────────────── function buildQuickBook(){ - var active=goals.filter(function(g){ var c=calc(g); return tOff(g)