diff options
Diffstat (limited to 'internal/handlers/handlers.go')
| -rw-r--r-- | internal/handlers/handlers.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go index 5014f39..5c86ce2 100644 --- a/internal/handlers/handlers.go +++ b/internal/handlers/handlers.go @@ -996,6 +996,10 @@ func (h *Handler) HandleTabTasks(w http.ResponseWriter, r *http.Request) { var currentAtoms, futureAtoms []models.Atom for _, a := range atoms { + // Don't show recurring tasks until the day they're due + if a.IsRecurring && a.IsFuture { + continue + } if a.IsFuture { futureAtoms = append(futureAtoms, a) } else { |
