Skip to content

Commit cfa1440

Browse files
EddyNllocombe
authored andcommitted
fix(TranslateService): fix isolate to get the local translations
Fixes #524
1 parent 6f7296f commit cfa1440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/translate.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export class TranslateService {
146146

147147
set translations(translations: any) {
148148
if(this.isolate) {
149-
this._currentLang = translations;
149+
this._translations = translations;
150150
} else {
151151
this.store.translations = translations;
152152
}

0 commit comments

Comments
 (0)