diff --git a/ka-note/VERSION b/ka-note/VERSION index ee52711..20d2c5a 100644 --- a/ka-note/VERSION +++ b/ka-note/VERSION @@ -1 +1 @@ -1.0.50 \ No newline at end of file +1.0.52 \ No newline at end of file diff --git a/ka-note/client/src/lib/components/TopicCard.svelte b/ka-note/client/src/lib/components/TopicCard.svelte index 061c1ad..e71e09b 100644 --- a/ka-note/client/src/lib/components/TopicCard.svelte +++ b/ka-note/client/src/lib/components/TopicCard.svelte @@ -64,7 +64,6 @@ const text = noteText.trim(); if (!text) return false; createHistoryEntry(topic.id, today(), text); - updateTopic(topic.id, { isNew: false }); noteText = ""; noteEditor?.clear(); return true; @@ -72,10 +71,12 @@ function handleNote() { saveNote(); + updateTopic(topic.id, { isNew: false }); processedTopicIds.add(topic.id); } function handleSkip() { + updateTopic(topic.id, { isNew: false }); processedTopicIds.add(topic.id); } @@ -83,12 +84,13 @@ const dateInput = prompt("Datum (YYYY-MM-DD):", "2026-06-01"); if (!dateInput) return; saveNote(); - updateTopic(topic.id, { snoozeUntil: dateInput, status: "snoozed" }); + updateTopic(topic.id, { snoozeUntil: dateInput, status: "snoozed", isNew: false }); processedTopicIds.add(topic.id); } function handleDone() { saveNote(); + updateTopic(topic.id, { isNew: false }); archiveTopic(topic.id); }