Skip to content

Commit

Permalink
fix: change lang without reload page
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorniv committed Sep 26, 2018
1 parent 029df7d commit 7501bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shared/translates/translates.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class TranslatesService {
return;
}
this._appStorage.setItem(STORAGE_LANG_NAME, lang.code);
window.location.reload();
this._setLanguage(lang);
}

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

0 comments on commit 7501bc9

Please sign in to comment.