mirror of
https://github.com/suitenumerique/meet.git
synced 2026-07-26 11:58:53 +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
@@ -20,6 +20,10 @@ and this project adheres to
|
||||
- 🚸(frontend) mute join notification sound in larger rooms
|
||||
- 🚸(frontend) mute participants by default when joining a large meeting
|
||||
|
||||
### Fixed
|
||||
|
||||
- 🐛(frontend) fix metadata agent collector enabled check
|
||||
|
||||
## [1.20.0] - 2026-06-12
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -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