mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 21:27:52 +00:00
Mct7636 (#7645)
* setting order for sort to descending if in performance mode and no sort set --------- Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
parent
a3fb84ad43
commit
1671a585fb
@ -171,6 +171,10 @@ export default class TelemetryTable extends EventEmitter {
|
||||
|
||||
this.removeTelemetryCollection(keyString);
|
||||
|
||||
let sortOptions = this.configuration.getConfiguration().sortOptions;
|
||||
requestOptions.order =
|
||||
sortOptions?.direction ?? (this.telemetryMode === 'performance' ? 'desc' : 'asc');
|
||||
|
||||
if (this.telemetryMode === 'performance') {
|
||||
requestOptions.size = this.rowLimit;
|
||||
requestOptions.enforceSize = true;
|
||||
|
Loading…
Reference in New Issue
Block a user