Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
-10
@@ -257,16 +257,6 @@ export class MessageChannelWorkspaceEntity extends BaseWorkspaceEntity {
|
||||
})
|
||||
excludeGroupEmails: boolean;
|
||||
|
||||
@WorkspaceField({
|
||||
standardId: MESSAGE_CHANNEL_STANDARD_FIELD_IDS.syncAllFolders,
|
||||
type: FieldMetadataType.BOOLEAN,
|
||||
label: msg`Sync all folders`,
|
||||
description: msg`Sync all folders including new ones`,
|
||||
icon: 'IconFolders',
|
||||
defaultValue: true,
|
||||
})
|
||||
syncAllFolders: boolean;
|
||||
|
||||
@WorkspaceField({
|
||||
standardId: MESSAGE_CHANNEL_STANDARD_FIELD_IDS.pendingGroupEmailsAction,
|
||||
type: FieldMetadataType.SELECT,
|
||||
|
||||
+1
-8
@@ -21,7 +21,6 @@ import { MessageChannelWorkspaceEntity } from 'src/modules/messaging/common/stan
|
||||
|
||||
export enum MessageFolderPendingSyncAction {
|
||||
FOLDER_DELETION = 'FOLDER_DELETION',
|
||||
FOLDER_IMPORT = 'FOLDER_IMPORT',
|
||||
NONE = 'NONE',
|
||||
}
|
||||
|
||||
@@ -126,16 +125,10 @@ export class MessageFolderWorkspaceEntity extends BaseWorkspaceEntity {
|
||||
position: 0,
|
||||
color: 'red',
|
||||
},
|
||||
{
|
||||
value: MessageFolderPendingSyncAction.FOLDER_IMPORT,
|
||||
label: 'Folder import',
|
||||
position: 1,
|
||||
color: 'green',
|
||||
},
|
||||
{
|
||||
value: MessageFolderPendingSyncAction.NONE,
|
||||
label: 'None',
|
||||
position: 2,
|
||||
position: 1,
|
||||
color: 'blue',
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user