message list member backfill (#23176)
<!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/twentyhq/twenty/pull/23176?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. -->
This commit is contained in:
+1
-4
@@ -7,8 +7,7 @@ import {
|
||||
type UnsubscribeTopicsQuery,
|
||||
UnsubscribeTopicVisibility,
|
||||
} from '~/generated-metadata/graphql';
|
||||
import { Pill, Status } from 'twenty-ui/data-display';
|
||||
import { IconLock } from 'twenty-ui/icon';
|
||||
import { Status } from 'twenty-ui/data-display';
|
||||
import { useNavigateSettings } from '~/hooks/useNavigateSettings';
|
||||
|
||||
type UnsubscribeTopic = UnsubscribeTopicsQuery['unsubscribeTopics'][number];
|
||||
@@ -20,13 +19,11 @@ export const SettingsWorkspaceUnsubscribeTopicSection = () => {
|
||||
|
||||
const title = t`Unsubscribe topics`;
|
||||
const description = t`Email categories recipients can opt out of`;
|
||||
const organizationPill = <Pill Icon={IconLock} label={t`Organization`} />;
|
||||
|
||||
return (
|
||||
<SettingsTableListSection<UnsubscribeTopic>
|
||||
title={title}
|
||||
description={description}
|
||||
headerAdornment={organizationPill}
|
||||
items={unsubscribeTopics}
|
||||
columns={[
|
||||
{
|
||||
|
||||
-3
@@ -6,8 +6,6 @@ import { SettingsTableListSection } from '@/settings/components/SettingsTableLis
|
||||
import { SettingsWorkspaceEmailChannelDomainStatusCell } from '@/settings/workspace/components/SettingsWorkspaceEmailChannelDomainStatusCell';
|
||||
import { SettingsWorkspaceEmailGroupSourceCell } from '@/settings/workspace/components/SettingsWorkspaceEmailGroupSourceCell';
|
||||
import { MessageChannelType, SettingsPath } from 'twenty-shared/types';
|
||||
import { Pill } from 'twenty-ui/data-display';
|
||||
import { IconLock } from 'twenty-ui/icon';
|
||||
import { useNavigateSettings } from '~/hooks/useNavigateSettings';
|
||||
|
||||
export const SettingsWorkspaceEmailGroupSection = () => {
|
||||
@@ -23,7 +21,6 @@ export const SettingsWorkspaceEmailGroupSection = () => {
|
||||
<SettingsTableListSection<MessageChannel>
|
||||
title={t`Channels`}
|
||||
description={t`Addresses your workspace uses to send and receive email from shared inboxes`}
|
||||
headerAdornment={<Pill Icon={IconLock} label={t`Organization`} />}
|
||||
items={emailGroupChannels}
|
||||
columns={[
|
||||
{ label: t`Email`, Cell: SettingsWorkspaceEmailGroupSourceCell },
|
||||
|
||||
Reference in New Issue
Block a user