Update notification-box.component.ts

This commit is contained in:
piotrpekala7 2020-08-06 23:27:22 +02:00
parent 69177e86fc
commit 9b77b40bd0

View File

@ -65,6 +65,9 @@ export class NotificationBoxComponent implements OnInit, OnDestroy {
startTimer() {
this.timer = timer(this.delayTime, 1000);
setTimeout(() => {
this.showNotification();
}, 5000);
this.timerSubscription = this.timer.subscribe(() => {
this.ticks++;