fix(plugin-multi-tenant): multi-locale tenant select label (#12444)

fixes https://github.com/payloadcms/payload/issues/12443
This commit is contained in:
Sasha
2025-05-20 15:02:47 +03:00
committed by GitHub
parent e8c2b15e2b
commit 4fe3423e54
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ export const TenantSelector = ({ label, viewType }: { label: string; viewType?:
i18nKey="plugin-multi-tenant:confirm-tenant-switch--heading"
t={t}
variables={{
tenantLabel: label.toLowerCase(),
tenantLabel: getTranslation(label, i18n),
}}
/>
}