Fix minor issues
This commit is contained in:
parent
e992152a75
commit
72eaca7a3b
1 changed files with 49 additions and 36 deletions
|
|
@ -29,7 +29,9 @@ export class TowerComponent {
|
|||
}
|
||||
|
||||
get tasks(): Block[] {
|
||||
return this.tower.blocks.filter(block => !block.isDone);
|
||||
return this.tower.blocks.filter(
|
||||
block => this.dateRange.from <= block.created && block.created <= this.dateRange.to && !block.isDone
|
||||
);
|
||||
}
|
||||
|
||||
@Input() tower: Tower;
|
||||
|
|
|
|||
Loading…
Reference in a new issue