mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 15:02:23 +00:00
[Imagery] Be flexible about format
Accept either image or imageUrl as format for image telemetry, WTD-1170.
This commit is contained in:
parent
69f4b4975e
commit
51bd205502
@ -38,7 +38,8 @@ define(
|
||||
ranges = metadata.ranges || [];
|
||||
|
||||
return ranges.some(function (range) {
|
||||
return range.format === 'imageUrl';
|
||||
return range.format === 'imageUrl' ||
|
||||
range.format === 'image';
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user