mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 22:28:13 +00:00
[Time Conductor] Simplify passing in of axis type
...in PlotAxis. Also avoids triggering failures of existing tests.
This commit is contained in:
@ -87,7 +87,7 @@ define(
|
||||
}
|
||||
|
||||
metadatas.forEach(function (m) {
|
||||
(m[axisType + 's'] || []).forEach(function (option) {
|
||||
(m[axisType] || []).forEach(function (option) {
|
||||
var key = option.key;
|
||||
if (!optionKeys[key] && !newOptions[key]) {
|
||||
toAdd.push(option);
|
||||
|
Reference in New Issue
Block a user