From 0fd47a19d8894243bdc8e6bbc549e3c1b6c88147 Mon Sep 17 00:00:00 2001 From: Arturo Castillo Delgado Date: Mon, 16 Dec 2024 15:45:31 +0100 Subject: [PATCH] [EuiPagination] Add keys for i18n values in compressed count I was not able to reproduce the error outside Kibana, nor determine the real cause of it, see https://github.com/elastic/kibana/issues/202287 --- packages/eui/src/components/pagination/pagination.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eui/src/components/pagination/pagination.tsx b/packages/eui/src/components/pagination/pagination.tsx index 93851142622..18393b52455 100644 --- a/packages/eui/src/components/pagination/pagination.tsx +++ b/packages/eui/src/components/pagination/pagination.tsx @@ -159,8 +159,8 @@ export const EuiPagination: FunctionComponent = ({ token="euiPagination.pageOfTotalCompressed" default="{page} of {total}" values={{ - page: {activePage + 1}, - total: {pageCount}, + page: {activePage + 1}, + total: {pageCount}, }} />