mirror of
https://github.com/lingble/twenty.git
synced 2025-10-31 20:57:55 +00:00
fix label update
This commit is contained in:
@@ -172,15 +172,6 @@ export class MigratePhoneFieldsToPhonesCommand extends ActiveWorkspacesCommandRu
|
|||||||
workspaceId: workspaceId,
|
workspaceId: workspaceId,
|
||||||
fieldId: standardPersonPhonesField.id,
|
fieldId: standardPersonPhonesField.id,
|
||||||
});
|
});
|
||||||
|
|
||||||
await this.fieldMetadataService.updateOne(
|
|
||||||
standardPersonPhonesField.id,
|
|
||||||
{
|
|
||||||
id: standardPersonPhonesField.id,
|
|
||||||
workspaceId: standardPersonPhonesField.workspaceId,
|
|
||||||
label: 'Phone (deprecated)',
|
|
||||||
},
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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