Toggle display of the user email in the header (#336)

This commit is contained in:
Anton Shepilov
2024-01-22 17:01:50 +03:00
committed by GitHub
parent e887d820e5
commit 18ca9444ca
7 changed files with 28 additions and 8 deletions
@@ -61,6 +61,9 @@ export function formatCompany(
[CompanyFeaturesEnum.COMPANY_SHARED_DRIVE]: JSON.parse(
config.get("drive.featureSharedDrive") || "true",
),
[CompanyFeaturesEnum.COMPANY_DISPLAY_EMAIL]: JSON.parse(
config.get("drive.featureDisplayEmail") || "true",
),
},
{
...(res.plan?.features || {}),