mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-06 00:47:47 +00:00
🐛(frontend) fix metadata agent collector enabled check
Fix an incorrect check that caused issues in production when determining whether the metadata agent collector is enabled.
This commit is contained in:
committed by
aleb_the_flash
parent
135b99aee7
commit
c0feb1ee82
@@ -6,5 +6,5 @@ export const useIsMetadataCollectorEnabled = () => {
|
||||
const featureEnabled = useFeatureFlagEnabled(FeatureFlags.metadataCollector)
|
||||
const isAnalyticsEnabled = useIsAnalyticsEnabled()
|
||||
|
||||
return (featureEnabled && isAnalyticsEnabled) || true
|
||||
return !isAnalyticsEnabled || Boolean(featureEnabled)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user