mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
chore: rename to seats used (#8993)
Instead of licensed users/used, we will use seats used.
This commit is contained in:
parent
4fb5f6a96c
commit
fdb20e94e1
@ -90,7 +90,7 @@ export const LicensedUsersSidebar = ({
|
|||||||
>
|
>
|
||||||
<ModalContentContainer>
|
<ModalContentContainer>
|
||||||
<HeaderRow>
|
<HeaderRow>
|
||||||
<ModalHeader>Licensed seats</ModalHeader>
|
<ModalHeader>Seats used</ModalHeader>
|
||||||
</HeaderRow>
|
</HeaderRow>
|
||||||
<WidgetContainer>
|
<WidgetContainer>
|
||||||
<Row>
|
<Row>
|
||||||
|
@ -15,7 +15,7 @@ const placeholderData: LicensedUsersSchema = {
|
|||||||
export const useLicensedUsers = () => {
|
export const useLicensedUsers = () => {
|
||||||
const { data, refetch, loading, error } = useApiGetter<LicensedUsersSchema>(
|
const { data, refetch, loading, error } = useApiGetter<LicensedUsersSchema>(
|
||||||
formatApiPath(path),
|
formatApiPath(path),
|
||||||
() => fetcher(formatApiPath(path), 'Licensed users'),
|
() => fetcher(formatApiPath(path), 'Seats used'),
|
||||||
);
|
);
|
||||||
|
|
||||||
return { data: data || placeholderData, refetch, loading, error };
|
return { data: data || placeholderData, refetch, loading, error };
|
||||||
|
@ -662,7 +662,7 @@ export function registerPrometheusMetrics(
|
|||||||
|
|
||||||
const licensedUsers = createGauge({
|
const licensedUsers = createGauge({
|
||||||
name: 'licensed_users',
|
name: 'licensed_users',
|
||||||
help: 'The number of licensed users.',
|
help: 'The number of seats used.',
|
||||||
});
|
});
|
||||||
|
|
||||||
const addonEventsHandledCounter = createCounter({
|
const addonEventsHandledCounter = createCounter({
|
||||||
|
Loading…
Reference in New Issue
Block a user