import { Trans, useTranslation } from 'react-i18next' import getMeta from '../../../../utils/meta' import { useSubscriptionDashboardContext } from '../../context/subscription-dashboard-context' import { RowLink } from './row-link' export default function ManagedGroupSubscriptions() { const { t } = useTranslation() const { managedGroupSubscriptions } = useSubscriptionDashboardContext() if (!managedGroupSubscriptions) { return null } const groupSettingsEnabledFor = getMeta('ol-groupSettingsEnabledFor', []) return ( <> {managedGroupSubscriptions.map(subscription => (
{subscription.userIsGroupMember ? (