We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be51c88 commit 7266dd4Copy full SHA for 7266dd4
src/apps/schema/src/app/components/AddFieldModal/views/FieldForm.tsx
@@ -647,10 +647,14 @@ export const FieldForm = ({
647
fieldStateOnSaveAction === "deactivate" &&
648
!fieldData?.deletedAt
649
) {
650
- deleteContentModelField({
651
- modelZUID: id,
652
- fieldZUID: fieldData?.ZUID,
653
- });
+ // added a delay to temporarily fix an issue with field not being deleted properly
+ // likely related to api response caching
+ setTimeout(() => {
+ deleteContentModelField({
654
+ modelZUID: id,
655
+ fieldZUID: fieldData?.ZUID,
656
+ });
657
+ }, 1000);
658
}
659
})
660
.catch((error) => {
0 commit comments