From ae67247ac819eeba0ed4c681e3e1fa7d21a05c3d Mon Sep 17 00:00:00 2001 From: Anna Manchenkova Date: Mon, 5 Jun 2023 11:44:14 +0300 Subject: [PATCH] feat: localization of templates in operations --- .../module-interactive-part.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/libs/features/modules-interactivity/src/lib/components/module-interactive-part/module-interactive-part.component.ts b/web/libs/features/modules-interactivity/src/lib/components/module-interactive-part/module-interactive-part.component.ts index c301d99e..b3d94a9c 100644 --- a/web/libs/features/modules-interactivity/src/lib/components/module-interactive-part/module-interactive-part.component.ts +++ b/web/libs/features/modules-interactivity/src/lib/components/module-interactive-part/module-interactive-part.component.ts @@ -94,8 +94,7 @@ export class ModuleInteractivePartComponent implements OnInit, OnChanges, OnDest const lang = this.languageService.lang; const moduleLocalization = this.getModuleLocalization(module, lang); - this.setAppLocale(moduleLocalization, lang); - this.setAppLocale(appLocalization, lang); + this.setAppLocale({ ...appLocalization, ...moduleLocalization }, lang); }); }