diff --git a/src/front/Components/Layouts/DeedTypes/DeedTypesEdit/index.tsx b/src/front/Components/Layouts/DeedTypes/DeedTypesEdit/index.tsx index fa27ed15..5838bffc 100644 --- a/src/front/Components/Layouts/DeedTypes/DeedTypesEdit/index.tsx +++ b/src/front/Components/Layouts/DeedTypes/DeedTypesEdit/index.tsx @@ -38,6 +38,7 @@ export default function DeedTypesEdit() { await DeedTypes.getInstance().put( deedTypeUid as string, DeedType.hydrate({ + uid: deedTypeUid as string, name: values["name"], description: values["description"], }), diff --git a/src/front/Components/Layouts/DeedTypes/DeedTypesInformations/index.tsx b/src/front/Components/Layouts/DeedTypes/DeedTypesInformations/index.tsx index defe4c56..b4a9f32a 100644 --- a/src/front/Components/Layouts/DeedTypes/DeedTypesInformations/index.tsx +++ b/src/front/Components/Layouts/DeedTypes/DeedTypesInformations/index.tsx @@ -43,6 +43,7 @@ export default function DeedTypesInformations(props: IProps) { await DeedTypes.getInstance().put( deedTypeUid as string, DeedType.hydrate({ + uid: deedTypeUid as string, archived_at: new Date(), }), );