Fixed pagination (#33471)
Signed-off-by: Agnieszka Gancarczyk <agagancarczyk@gmail.com>
This commit is contained in:
parent
9bbe00e3e3
commit
204908d972
1 changed files with 2 additions and 2 deletions
|
@ -124,6 +124,8 @@ export const RealmOverrides = ({
|
|||
whoAmI.getLocale(),
|
||||
});
|
||||
|
||||
setTranslations(Object.entries(result));
|
||||
|
||||
if (filter) {
|
||||
const searchInTranslations = (idx: number) => {
|
||||
return Object.entries(result).filter((i) =>
|
||||
|
@ -146,8 +148,6 @@ export const RealmOverrides = ({
|
|||
};
|
||||
|
||||
fetchLocalizationTexts().then((translations) => {
|
||||
setTranslations(translations);
|
||||
|
||||
const updatedRows: IRow[] = translations.map(
|
||||
(translation): IRow => ({
|
||||
rowEditBtnAriaLabel: () =>
|
||||
|
|
Loading…
Reference in a new issue