Keep catalog method section editors after a Customize title override so Core Principle and related copy are not replaced by an empty custom-policy body.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -40,6 +40,7 @@ import { usesWizardFieldBlocksModalBody } from "../../../../lib/create/usesWizar
|
||||
import type { CustomMethodCardFieldBlock } from "../../../../lib/create/customMethodCardFieldBlocks";
|
||||
import {
|
||||
CUSTOM_RULE_FACET_BY_GROUP,
|
||||
isCatalogMethodCardId,
|
||||
type TemplateFacetGroupKey,
|
||||
} from "../../../../lib/create/customRuleFacets";
|
||||
import type { MethodFacetGroupKey } from "../../../../lib/create/removeMethodCardFromFacetSelection";
|
||||
@@ -378,10 +379,11 @@ export function FinalReviewChipEditModal({
|
||||
modalEditUnlocked: true,
|
||||
draftFieldBlocks,
|
||||
}) ||
|
||||
isCustomMethodCardId(
|
||||
(isCustomMethodCardId(
|
||||
target.overrideKey,
|
||||
state.customMethodCardMetaById,
|
||||
)),
|
||||
) &&
|
||||
!isCatalogMethodCardId(target.overrideKey))),
|
||||
);
|
||||
|
||||
const handleWizardFieldBlocksChange = useCallback(
|
||||
|
||||
Reference in New Issue
Block a user