diff --git a/frontend/src/components/contents/ContentDialog.tsx b/frontend/src/components/contents/ContentDialog.tsx index 1c845762..46fa1704 100644 --- a/frontend/src/components/contents/ContentDialog.tsx +++ b/frontend/src/components/contents/ContentDialog.tsx @@ -162,7 +162,10 @@ export const ContentDialog: FC = ({ const onSubmitForm = async (params: IContentAttributes) => { if (content) { updateContent( - { id: content.id, params }, + { + id: content.id, + params: { ...params, entity: (params.entity as any).id }, + }, { onError: () => { toast.error(t("message.internal_server_error"));