fix(admin-ui): fix analytics config not being saved in invite form (#5467)
This commit is contained in:
@@ -119,8 +119,10 @@ const InvitePage = () => {
|
||||
!data.analytics.opt_out &&
|
||||
token?.user_email
|
||||
|
||||
if (isFeatureEnabled("analytics")) {
|
||||
try {
|
||||
await createAnalyticsConfig(data.analytics)
|
||||
} catch (e) {
|
||||
// gracefully handle error if analytics are disabled
|
||||
}
|
||||
|
||||
if (shouldTrackEmail) {
|
||||
|
||||
Reference in New Issue
Block a user