|
|
@@ -7,6 +7,7 @@ import { Trans, useTranslation } from 'react-i18next'
|
|
|
import { useSubscriptionDashboardContext } from '../../context/subscription-dashboard-context'
|
|
|
import { RowLink } from './row-link'
|
|
|
import { ManagedGroupSubscription } from '../../../../../../types/subscription/dashboard/subscription'
|
|
|
+import { sendMB } from '@/infrastructure/event-tracking'
|
|
|
|
|
|
function ManagedGroupAdministrator({
|
|
|
subscription,
|
|
|
@@ -130,6 +131,11 @@ export default function ManagedGroupSubscriptions() {
|
|
|
heading={t('audit_logs')}
|
|
|
subtext={t('view_audit_logs_group_subtext')}
|
|
|
icon="list"
|
|
|
+ onClick={() =>
|
|
|
+ sendMB('group-audit-log-click', {
|
|
|
+ subscriptionId: subscription._id,
|
|
|
+ })
|
|
|
+ }
|
|
|
/>
|
|
|
<RowLink
|
|
|
href={`/metrics/groups/${subscription._id}`}
|