mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 21:27:52 +00:00
parent
e4639091e5
commit
2a19945870
@ -139,9 +139,9 @@
|
||||
}
|
||||
});
|
||||
|
||||
// Truncate results if there are more than maxResults
|
||||
if (message.total > data.maxResults) {
|
||||
message.results = results.slice(0, data.maxResults);
|
||||
// Truncate results if there are more than maxNumber
|
||||
if (message.total > data.maxNumber) {
|
||||
message.results = results.slice(0, data.maxNumber);
|
||||
} else {
|
||||
message.results = results;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user