mirror of
https://github.com/lingble/twenty.git
synced 2025-10-29 20:02:29 +00:00
[Phones migration][Fix] Remove field from view after creation (#7243)
This commit is contained in:
@@ -168,6 +168,11 @@ export class MigratePhoneFieldsToPhonesCommand extends ActiveWorkspacesCommandRu
|
||||
defaultValue: null,
|
||||
name: 'phones',
|
||||
} satisfies CreateFieldInput);
|
||||
|
||||
await this.viewService.removeFieldFromViews({
|
||||
workspaceId: workspaceId,
|
||||
fieldId: standardPersonPhonesFieldType.id,
|
||||
});
|
||||
}
|
||||
|
||||
// Copy phone data from Text type to Phones type
|
||||
|
||||
Reference in New Issue
Block a user