@eui/core 10.5.4 → 10.5.5-snapshot-1638304424280

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.
@@ -1313,8 +1313,10 @@
1313
1313
  }
1314
1314
  }), operators.map(function () {
1315
1315
  if (_this.translateService.currentLoader instanceof I18nLoader) {
1316
- var failedResources = _this.translateService.currentLoader.getFailedResources();
1316
+ var i18nLoader = _this.translateService.currentLoader;
1317
+ var failedResources = i18nLoader.getFailedResources();
1317
1318
  if (failedResources.length > 0) {
1319
+ i18nLoader.removeResources(failedResources.map(function (r) { return r.resource; }));
1318
1320
  return { success: false, error: failedResources };
1319
1321
  }
1320
1322
  }