From fe64295c5bf8db7d1dd546092e4989923721fcd2 Mon Sep 17 00:00:00 2001 From: sjaanus Date: Tue, 17 Dec 2024 12:32:10 +0200 Subject: [PATCH] chore: rename to seats used --- .../component/admin/users/UsersHeader/LicensedUsersSidebar.tsx | 2 +- frontend/src/hooks/useLicensedUsers.ts | 2 +- src/lib/metrics.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/component/admin/users/UsersHeader/LicensedUsersSidebar.tsx b/frontend/src/component/admin/users/UsersHeader/LicensedUsersSidebar.tsx index b1e1ac468fab..874a7b4041e2 100644 --- a/frontend/src/component/admin/users/UsersHeader/LicensedUsersSidebar.tsx +++ b/frontend/src/component/admin/users/UsersHeader/LicensedUsersSidebar.tsx @@ -90,7 +90,7 @@ export const LicensedUsersSidebar = ({ > - Licensed seats + Seats used diff --git a/frontend/src/hooks/useLicensedUsers.ts b/frontend/src/hooks/useLicensedUsers.ts index 45f2411fcc6b..03c7ad0171dd 100644 --- a/frontend/src/hooks/useLicensedUsers.ts +++ b/frontend/src/hooks/useLicensedUsers.ts @@ -15,7 +15,7 @@ const placeholderData: LicensedUsersSchema = { export const useLicensedUsers = () => { const { data, refetch, loading, error } = useApiGetter( formatApiPath(path), - () => fetcher(formatApiPath(path), 'Licensed users'), + () => fetcher(formatApiPath(path), 'Seats used'), ); return { data: data || placeholderData, refetch, loading, error }; diff --git a/src/lib/metrics.ts b/src/lib/metrics.ts index 90dcbacfc5c4..a0d8486f4114 100644 --- a/src/lib/metrics.ts +++ b/src/lib/metrics.ts @@ -662,7 +662,7 @@ export function registerPrometheusMetrics( const licensedUsers = createGauge({ name: 'licensed_users', - help: 'The number of licensed users.', + help: 'The number of seats used.', }); const addonEventsHandledCounter = createCounter({