mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 07:38:15 +00:00
Fix telemetry metadata issues (#2308)
* Do not try to convert undefined to a string * Fixed metadata sorting. Iteratees that return arrays are treated as object paths. * Added test specs for telemetry API reordering change * Added telemetry filters to the API * Support multiple inspector views * Renamed InspectorView.vue to InspectorViews.vue * VISTA compatibility issues (#2291) * Build config changes necessary to work with VISTA * Fixes to TelemetryTableRow to address bug in VISTA * Fixed sass-fast-loader version to avoid https://github.com/yibn2008/fast-sass-loader/issues/47 * Reverted default theme
This commit is contained in:
committed by
Pegah Sarram
parent
b72ad529aa
commit
0f2918efaf
@ -116,12 +116,12 @@ define([
|
||||
return hints.every(hasHint, metadata);
|
||||
}
|
||||
var matchingMetadata = this.valueMetadatas.filter(hasHints);
|
||||
var sortedMetadata = _.sortBy(matchingMetadata, function (metadata) {
|
||||
return hints.map(function (hint) {
|
||||
let iteratees = hints.map(hint => {
|
||||
return (metadata) => {
|
||||
return metadata.hints[hint];
|
||||
});
|
||||
}
|
||||
});
|
||||
return sortedMetadata;
|
||||
return _.sortByAll(matchingMetadata, ...iteratees);
|
||||
};
|
||||
|
||||
TelemetryMetadataManager.prototype.getFilterableValues = function () {
|
||||
|
Reference in New Issue
Block a user