[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,
|
defaultValue: null,
|
||||||
name: 'phones',
|
name: 'phones',
|
||||||
} satisfies CreateFieldInput);
|
} satisfies CreateFieldInput);
|
||||||
|
|
||||||
|
await this.viewService.removeFieldFromViews({
|
||||||
|
workspaceId: workspaceId,
|
||||||
|
fieldId: standardPersonPhonesFieldType.id,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy phone data from Text type to Phones type
|
// Copy phone data from Text type to Phones type
|
||||||
|
|||||||
Reference in New Issue
Block a user