Compare commits

...

1 Commits

Author SHA1 Message Date
Michael Rogers
bf9781a93d Revert "Fixed bug which prevented historical images from loading. (#5271)"
This reverts commit 78002f0a24.
2022-06-23 17:17:23 -05:00
2 changed files with 4 additions and 2 deletions

View File

@@ -257,8 +257,10 @@ test('Example Imagery in Display layout', async ({ page }) => {
await page.click('text=Example Imagery');
// Clear and set Image load delay to minimum value
// FIXME: Update the value to 5000 ms when this bug is fixed.
// See: https://github.com/nasa/openmct/issues/5265
await page.locator('input[type="number"]').fill('');
await page.locator('input[type="number"]').fill('5000');
await page.locator('input[type="number"]').fill('0');
// Click text=OK
await Promise.all([

View File

@@ -168,7 +168,7 @@ function getImageUrlListFromConfig(configuration) {
}
function getImageLoadDelay(domainObject) {
const imageLoadDelay = Math.trunc(Number(domainObject.configuration.imageLoadDelayInMilliSeconds));
const imageLoadDelay = domainObject.configuration.imageLoadDelayInMilliSeconds;
if (!imageLoadDelay) {
openmctInstance.objects.mutate(domainObject, 'configuration.imageLoadDelayInMilliSeconds', DEFAULT_IMAGE_LOAD_DELAY_IN_MILISECONDS);