mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat(cms): content not getting updated removed extras
This commit is contained in:
parent
f8a6eb80ff
commit
2d11ed2c43
@ -163,10 +163,7 @@ export const ContentDialog: FC<ContentDialogProps> = ({
|
||||
const onSubmitForm = async (params: IContentAttributes) => {
|
||||
if (content) {
|
||||
updateContent(
|
||||
{
|
||||
id: content.id,
|
||||
params: { ...params, entity: params.entity },
|
||||
},
|
||||
{ id: content.id, params },
|
||||
{
|
||||
onError: () => {
|
||||
toast.error(t("message.internal_server_error"));
|
||||
|
Loading…
Reference in New Issue
Block a user