From 54a0624c17ed8ec80d39c8debc7c527abaf4cce6 Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Wed, 5 Aug 2026 15:32:23 +0200 Subject: [PATCH] last sync with changes no duplicate --- src/api/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/main.py b/src/api/main.py index 133f387..ece6f0a 100644 --- a/src/api/main.py +++ b/src/api/main.py @@ -213,6 +213,8 @@ def web_dashboard( if last_sync_with_changes: last_sync_with_changes["started_at"] = str(last_sync_with_changes["started_at"]) + if last_sync and last_sync["started_at"] == last_sync_with_changes["started_at"]: + last_sync_with_changes = None return templates.TemplateResponse( "dashboard.html",