feat: add logging functionality for counter updates for incrementing on different dates (for stats)
Build and publish Docker image / build-and-push (release) Successful in 1m9s

This commit is contained in:
2026-08-25 13:58:29 +02:00
parent 3df1e8d7fa
commit eb71302e1c
3 changed files with 114 additions and 1 deletions
+4
View File
@@ -495,6 +495,10 @@ export default function Home() {
counterId={historyCounterId}
cache={historyCache.current}
onClose={() => setHistoryCounterId(null)}
onLog={updated => {
setCounters(prev => prev.map(c => c.id === updated.id ? { ...c, value: updated.value } : c));
setArchivedCounters(prev => prev.map(c => c.id === updated.id ? { ...c, value: updated.value } : c));
}}
/>
</main>
);