mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-07 02:20:28 +08:00
feat: fix bug that language cannot be switched to user selected language (#3980)
This commit is contained in:
@@ -247,7 +247,9 @@ class App extends Component {
|
||||
account.organization = res.data2;
|
||||
accessToken = res.data.accessToken;
|
||||
|
||||
if (!localStorage.getItem("language")) {
|
||||
this.setLanguage(account);
|
||||
}
|
||||
this.setTheme(Setting.getThemeData(account.organization), Conf.InitThemeAlgorithm);
|
||||
setTourLogo(account.organization.logo);
|
||||
setOrgIsTourVisible(account.organization.enableTour);
|
||||
|
Reference in New Issue
Block a user