Skip to content

Commit 7501bc9

Browse files
committed
fix: change lang without reload page
1 parent 029df7d commit 7501bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/shared/translates/translates.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class TranslatesService {
7474
return;
7575
}
7676
this._appStorage.setItem(STORAGE_LANG_NAME, lang.code);
77-
window.location.reload();
77+
this._setLanguage(lang);
7878
}
7979

8080
public getLangList(): Observable<ILang[]> {

0 commit comments

Comments
 (0)