@cornerstonejs/adapters 1.51.2 → 1.51.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45224,7 +45224,7 @@ class StackViewport extends Viewport$1 {
45224
45224
  });
45225
45225
  }));
45226
45226
  const errorList = resultList.filter(item => item.status === 'rejected');
45227
- if (errorList) {
45227
+ if (errorList && errorList.length) {
45228
45228
  const event = new CustomEvent(EVENTS.IMAGE_LOAD_ERROR, {
45229
45229
  detail: errorList,
45230
45230
  cancelable: true