Skip to content

Commit ffeb05e

Browse files
authored
fix: parser lang (#494)
1 parent 7b49bbd commit ffeb05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/ngneat/transloco/src/lib/transloco.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ export class TranslocoService implements OnDestroy {
105105
}
106106

107107
setActiveLang(lang: string) {
108-
this.lang.next(lang);
109108
this.parser.onLangChanged && this.parser.onLangChanged(lang);
109+
this.lang.next(lang);
110110
return this;
111111
}
112112

0 commit comments

Comments
 (0)