Skip to content

sortDone

sortDone<T>(entries, book, now): object

Leaves out what was marked done and hasn’t changed since. An item that changed is shown again (news), and forgets its Done. Marks older than DONE_MEMORY_DAYS are forgotten, whether or not the item came back.

Type Parameter
T extends TriageEntry
Parameter Type
entries readonly T[]
book DoneBook
now Date

object

book: DoneBook

shown: T[]