Skip to content

Commit

Permalink
Don't show overdue task if show_days range excludes it (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
karwosts committed Nov 30, 2023
1 parent 1df5359 commit e261b4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion grocy-chores-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,6 @@ class GrocyChoresCard extends LitElement {
visible = visible && (item.__type === "task" ? this.show_tasks_without_due : true);
} else {
visible = visible || this.show_days == null;
visible = visible || (item.__due_in_days < 0);

if(this.show_days != null) {
const days_range = typeof this.show_days === "number" ? [this.show_days] : this.show_days.split("..", 2);
Expand Down

0 comments on commit e261b4d

Please sign in to comment.