Skip to content

Commit 204908d

Browse files
Fixed pagination (#33471)
Signed-off-by: Agnieszka Gancarczyk <[email protected]>
1 parent 9bbe00e commit 204908d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/apps/admin-ui/src/realm-settings/localization/RealmOverrides.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ export const RealmOverrides = ({
124124
whoAmI.getLocale(),
125125
});
126126

127+
setTranslations(Object.entries(result));
128+
127129
if (filter) {
128130
const searchInTranslations = (idx: number) => {
129131
return Object.entries(result).filter((i) =>
@@ -146,8 +148,6 @@ export const RealmOverrides = ({
146148
};
147149

148150
fetchLocalizationTexts().then((translations) => {
149-
setTranslations(translations);
150-
151151
const updatedRows: IRow[] = translations.map(
152152
(translation): IRow => ({
153153
rowEditBtnAriaLabel: () =>

0 commit comments

Comments
 (0)