Skip to content

Commit

Permalink
Don't show overdue task if show_days range excludes it
Browse files Browse the repository at this point in the history
  • Loading branch information
karwosts committed Oct 19, 2023
1 parent 60743ce commit ef14123
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 @@ -524,7 +524,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 ef14123

Please sign in to comment.