|
|
@@ -17,7 +17,9 @@ class PlaylistSrv {
|
|
|
next() {
|
|
|
this.$timeout.cancel(this.cancelPromise);
|
|
|
|
|
|
- if (this.index > this.dashboards.length - 1) {
|
|
|
+ var playedAllDashboards = this.index > this.dashboards.length - 1;
|
|
|
+
|
|
|
+ if (playedAllDashboards) {
|
|
|
this.start(this.playlistId);
|
|
|
} else {
|
|
|
var dash = this.dashboards[this.index];
|