🐛 Search users env var default value (#309)
This commit is contained in:
@@ -55,8 +55,9 @@ export function formatCompany(
|
|||||||
[CompanyFeaturesEnum.CHAT_UNLIMITED_STORAGE]: true,
|
[CompanyFeaturesEnum.CHAT_UNLIMITED_STORAGE]: true,
|
||||||
[CompanyFeaturesEnum.COMPANY_INVITE_MEMBER]: true,
|
[CompanyFeaturesEnum.COMPANY_INVITE_MEMBER]: true,
|
||||||
// use the config value for this one
|
// use the config value for this one
|
||||||
[CompanyFeaturesEnum.COMPANY_SEARCH_USERS]:
|
[CompanyFeaturesEnum.COMPANY_SEARCH_USERS]: JSON.parse(
|
||||||
JSON.parse(config.get("drive.featureSearchUsers")) || true,
|
config.get("drive.featureSearchUsers") || "true",
|
||||||
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
...(res.plan?.features || {}),
|
...(res.plan?.features || {}),
|
||||||
|
|||||||
Reference in New Issue
Block a user