@colijnit/catalog 255.1.19 → 255.1.20

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.
@@ -30,8 +30,8 @@
30
30
  function Version() {
31
31
  this.name = "@colijnit/catalog";
32
32
  this.description = "iOne Catalog module based on Angular 12";
33
- this.symVer = "255.1.19";
34
- this.publishDate = "20-12-2024 13:49:23";
33
+ this.symVer = "255.1.20";
34
+ this.publishDate = "24-12-2024 13:53:50";
35
35
  }
36
36
  return Version;
37
37
  }());
@@ -687,14 +687,20 @@
687
687
  switch (_a.label) {
688
688
  case 0:
689
689
  this._dictionaryService.rootUrl = this.settings.url.replace('/ajaxservice', '');
690
- if (!!this.settings.additionalTranslationFile) return [3 /*break*/, 2];
691
- // const languageCode: string = this._dictionaryService.getLanguageCode(this.settings.languageCode);
690
+ if (!!this.settings.additionalTranslationFile) return [3 /*break*/, 4];
691
+ if (!(this.settings.languageCode !== undefined)) return [3 /*break*/, 2];
692
692
  return [4 /*yield*/, this._dictionaryService.setDictionary(this.settings.languageCode)];
693
693
  case 1:
694
- // const languageCode: string = this._dictionaryService.getLanguageCode(this.settings.languageCode);
695
694
  _a.sent();
696
- _a.label = 2;
697
- case 2:
695
+ return [3 /*break*/, 4];
696
+ case 2:
697
+ // Fall back
698
+ return [4 /*yield*/, this._dictionaryService.setDictionary(languageCode_enum.LanguageCode.Dutch)];
699
+ case 3:
700
+ // Fall back
701
+ _a.sent();
702
+ _a.label = 4;
703
+ case 4:
698
704
  this.settingsLoaded.next(true);
699
705
  return [2 /*return*/];
700
706
  }