[Table] #742 Fixed digest-related bug in RTTelemetryController

Fixed failing test
This commit is contained in:
Henry
2016-03-14 15:52:01 -07:00
parent fc08df4f6f
commit f9ed73c55e
2 changed files with 3 additions and 1 deletions

View File

@ -89,9 +89,9 @@ define(
datum = self.handle.getDatum(telemetryObject);
if (datum) {
row = self.table.getRowValues(telemetryObject, datum);
self.$scope.rows = self.$scope.rows || [];
if (!self.$scope.rows){
self.$scope.rows = [row];
self.$scope.$digest();
} else {
self.$scope.rows.push(row);
self.$scope.$broadcast('add:row',