KEYCLOAK-16832: using realm name instead of id
in order to get localization texts
This commit is contained in:
parent
cdf0ead957
commit
c0beca7744
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ module.controller('GlobalCtrl', function($scope, $http, Auth, Current, $location
|
|||
if(Current.realm !== null && currentRealm !== Current.realm.id) {
|
||||
currentRealm = Current.realm.id;
|
||||
translateProvider.translations(locale, resourceBundle);
|
||||
RealmSpecificLocalizationTexts.get({id: currentRealm, locale: locale}, function (localizationTexts) {
|
||||
RealmSpecificLocalizationTexts.get({id: Current.realm.realm, locale: locale}, function (localizationTexts) {
|
||||
translateProvider.translations(locale, localizationTexts.toJSON());
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue