Fix Tasks and Activities - Part 1 (#2624)

Fixed
This commit is contained in:
Lucas Bordeau
2023-11-21 23:29:40 +01:00
committed by GitHub
parent 77733f2bc8
commit a67199e0c3
18 changed files with 240 additions and 162 deletions

View File

@ -259,7 +259,7 @@ export const seedActivityFieldMetadata = async (
workspaceId: SeedWorkspaceId,
isActive: true,
type: FieldMetadataType.RELATION,
name: 'Comments',
name: 'comments',
label: 'Comments',
targetColumnMap: {},
description: 'Activity comments',

View File

@ -130,7 +130,7 @@ export const seedCommentFieldMetadata = async (
targetColumnMap: {},
description: 'Comment author',
icon: 'IconCircleUser',
isNullable: false,
isNullable: true,
isSystem: false,
defaultValue: undefined,
},
@ -146,7 +146,7 @@ export const seedCommentFieldMetadata = async (
targetColumnMap: {},
description: 'Comment author id foreign key',
icon: undefined,
isNullable: false,
isNullable: true,
isSystem: true,
defaultValue: undefined,
},
@ -162,7 +162,7 @@ export const seedCommentFieldMetadata = async (
targetColumnMap: {},
description: 'Comment activity',
icon: 'IconNotes',
isNullable: false,
isNullable: true,
isSystem: false,
defaultValue: undefined,
},
@ -178,7 +178,7 @@ export const seedCommentFieldMetadata = async (
targetColumnMap: {},
description: 'Activity id foreign key',
icon: undefined,
isNullable: false,
isNullable: true,
isSystem: true,
defaultValue: undefined,
},

View File

@ -37,7 +37,7 @@ const commentMetadata = {
},
description: 'Comment author',
icon: 'IconCircleUser',
isNullable: false,
isNullable: true,
},
{
isCustom: false,
@ -50,7 +50,7 @@ const commentMetadata = {
},
description: 'Comment activity',
icon: 'IconNotes',
isNullable: false,
isNullable: true,
},
],
};