Fix minor issues

This commit is contained in:
schmelczerandras 2019-08-27 14:58:43 +02:00
commit 72eaca7a3b

View file

@ -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;