1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 23:09:37 +02:00

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);
}
}