Enhance unlinked state logic for checklists and notes; update button layout in modals

This commit is contained in:
Sean Morley
2024-12-26 22:09:17 -05:00
parent df2ce01910
commit 8f7551f4be
6 changed files with 7 additions and 9 deletions

View File

@@ -25,7 +25,7 @@
const endOutsideRange =
note.date && collection.start_date > note.date && collection.end_date > note.date;
unlinked = !!(startOutsideRange || endOutsideRange);
unlinked = !!(startOutsideRange || endOutsideRange || !note.date);
}
}