|
@@ -11,11 +11,15 @@ function (angular, _) {
|
|
|
var self = this;
|
|
var self = this;
|
|
|
|
|
|
|
|
this.init = function(dashboard) {
|
|
this.init = function(dashboard) {
|
|
|
|
|
+ if (dashboard.snapshot) { return; }
|
|
|
|
|
+
|
|
|
this.iteration = new Date().getTime();
|
|
this.iteration = new Date().getTime();
|
|
|
this.process(dashboard);
|
|
this.process(dashboard);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
this.update = function(dashboard) {
|
|
this.update = function(dashboard) {
|
|
|
|
|
+ if (dashboard.snapshot) { return; }
|
|
|
|
|
+
|
|
|
this.iteration = this.iteration + 1;
|
|
this.iteration = this.iteration + 1;
|
|
|
this.process(dashboard);
|
|
this.process(dashboard);
|
|
|
};
|
|
};
|