diff --git a/src/app/admin/dashboard/dashboard.component.html b/src/app/admin/dashboard/dashboard.component.html index 90fcc62..4c7539e 100644 --- a/src/app/admin/dashboard/dashboard.component.html +++ b/src/app/admin/dashboard/dashboard.component.html @@ -2,7 +2,7 @@

Dashboard

- +
Start slideshow
diff --git a/src/app/display/slide-show.service.ts b/src/app/display/slide-show.service.ts index 3aa56da..6a82cdb 100644 --- a/src/app/display/slide-show.service.ts +++ b/src/app/display/slide-show.service.ts @@ -19,9 +19,9 @@ export class SlideShowService { public nextSlide() { if (this.currentSlideIndex === this.slides.length - 1) { - this.currentSlideIndex++; - this.router.navigate(['/kanban']); - } else if (this.currentSlideIndex === this.slides.length) { + // this.currentSlideIndex++; + // this.router.navigate(['/kanban']); + // } else if (this.currentSlideIndex === this.slides.length) { this.currentSlideIndex = -1; this.reloadSlides(); this.router.navigate(['/commit-tracker']);