From 9792b4646fdb96849ffa4b49eee5497bd64bd22d Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Wed, 11 Dec 2024 11:29:55 +0100 Subject: [PATCH] Consistency in entities title --- client/src/tabs/ApplicationUsers.js | 33 ++++++++++++----------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/client/src/tabs/ApplicationUsers.js b/client/src/tabs/ApplicationUsers.js index 03efa59..5f4344a 100644 --- a/client/src/tabs/ApplicationUsers.js +++ b/client/src/tabs/ApplicationUsers.js @@ -113,24 +113,19 @@ export const ApplicationUsers = () => { }, ]; - const title = I18n.t(`users.found`, { - count: totalElements, - plural: I18n.t(`users.${totalElements === 1 ? "singleUser" : "multipleUsers"}`) - }) - - return (
- {searching && } - - -
) + return ( +
+ {searching && } + +
+ ); }