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:
parent
df2ce01910
commit
8f7551f4be
6 changed files with 7 additions and 9 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue