@gravitee/ui-particles-angular 7.37.2 → 7.37.3

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.
@@ -3911,18 +3911,14 @@ class GioMonacoEditorComponent {
3911
3911
  if (!languageConfig) {
3912
3912
  return;
3913
3913
  }
3914
- const { language } = languageConfig;
3915
- if (language) {
3916
- const lang = language.toLowerCase();
3917
- switch (lang) {
3918
- case 'json':
3919
- if (languageConfig.schemas) {
3920
- this.languageJsonService.addSchemas(uri, languageConfig.schemas);
3921
- }
3922
- break;
3923
- default:
3924
- break;
3925
- }
3914
+ switch (languageConfig.language) {
3915
+ case 'json':
3916
+ if (languageConfig.schemas) {
3917
+ this.languageJsonService.addSchemas(uri, languageConfig.schemas);
3918
+ }
3919
+ break;
3920
+ default:
3921
+ break;
3926
3922
  }
3927
3923
  }
3928
3924
  }