feat: save edited custom field (#2245)

Closes #2161

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Thaïs
2023-10-27 18:06:31 +02:00
committed by GitHub
co-authored by Lucas Bordeau
parent 40c5f72080
commit e488a87ce4
8 changed files with 84 additions and 16 deletions
@@ -28,7 +28,7 @@ export const useUpdateOneMetadataField = () => {
fieldIdToUpdate: UpdateOneMetadataFieldMutationVariables['idToUpdate'];
updatePayload: Pick<
UpdateOneMetadataFieldMutationVariables['updatePayload'],
'description' | 'icon' | 'isActive' | 'label'
'description' | 'icon' | 'isActive' | 'label' | 'name'
>;
}) => {
return await mutate({