mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 09:52:04 +00:00
[Scrolling List] Enforce row count
WTD-1317
This commit is contained in:
parent
a7c09f8c79
commit
40957b1c29
@ -29,7 +29,7 @@ define(
|
||||
function (NameColumn, DomainColumn, RangeColumn) {
|
||||
"use strict";
|
||||
|
||||
var ROW_COUNT = 18;
|
||||
var ROW_COUNT = 100;
|
||||
|
||||
/**
|
||||
* The RTScrollingListController is responsible for populating
|
||||
@ -92,6 +92,7 @@ define(
|
||||
rows.unshift(columns.map(function (column) {
|
||||
return column.getValue(telemetryObject, handle);
|
||||
}));
|
||||
rows.splice(ROW_COUNT, Number.MAX_VALUE);
|
||||
lastUpdated[id] = domainValue;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user