Close #130 - allow toggle low-priority habits

This commit is contained in:
2022-09-18 19:10:50 +00:00
parent 6d6e4c3a0a
commit b78508c163
2 changed files with 9 additions and 1 deletions

View File

@@ -223,8 +223,10 @@
(_activeBonusEntries)
(_activeTodoEntries))))
(prop &mut :Bool showLowerPriority false)
(method :Bool topPriorityIsActive []
(apply or (for e (_allActiveEntries) e.topPriority)))
?(unless showLowerPriority (apply or (for e (_allActiveEntries) e.topPriority))))
(defMacro topPriority [name]
`(method :Array<Entry> ,name []