commit | de23dbf5f43f1e673ed636d1827c4bc71971fba2 | [log] [tgz] |
---|---|---|
author | Frank Dietrich <frank.dietrich@pta.eu> | Fri Jan 26 09:16:58 2018 +0100 |
committer | Frank Dietrich <frank.dietrich@pta.eu> | Fri Jan 26 09:16:58 2018 +0100 |
tree | 36edb08890e6c59920cf0f52a2640e09c37249a5 | |
parent | 706d5d903cc15df155f40605e9a0b7fdd5fed548 [diff] |
Enhancement 530174 - Home view: Show closed notifications for the last week
diff --git a/src/app/lists/finished-notifications/finished-notifications.component.ts b/src/app/lists/finished-notifications/finished-notifications.component.ts index 8fba337..9410e1e 100644 --- a/src/app/lists/finished-notifications/finished-notifications.component.ts +++ b/src/app/lists/finished-notifications/finished-notifications.component.ts
@@ -45,7 +45,7 @@ this.endDate = new Date(dateRange.dateTo); } else { this.startDate = new Date(); - this.startDate.setHours(this.startDate.getHours() - 24); + this.startDate.setHours(this.startDate.getHours() - 168); this.startDate.setHours(0); this.startDate.setMinutes(0); this.startDate.setSeconds(0);