Update checklist sync without hard resets

This commit is contained in:
2026-05-20 09:19:44 +00:00
parent 456b165987
commit 507460f1a3
8 changed files with 404 additions and 92 deletions
+3
View File
@@ -17,6 +17,9 @@ export const normalizeAcceptanceCriteria = (
const items = Array.isArray(value)
? value
.map((item) => ({
...(typeof item.id === 'number' && item.id > 0
? { id: item.id }
: {}),
checked: item.checked === true,
indent: clampIndent(item.indent),
text: item.text.trim(),