Update conflict management modal

This commit is contained in:
adilallo
2026-04-30 09:23:40 -06:00
parent b7446873cd
commit 58d0e33500
8 changed files with 95 additions and 24 deletions
@@ -8,6 +8,7 @@ import ContentLockup from "../../type/ContentLockup";
import ModalTextAreaField from "../../../(app)/create/components/ModalTextAreaField";
import { useMessages, useTranslation } from "../../../contexts/MessagesContext";
import type { TemplateChipDetail } from "../../../../lib/create/templateReviewMapping";
import { formatConflictApplicableScopeForTextarea } from "../../../../lib/create/ruleSectionsFromMethodSelections";
export interface TemplateChipDetailModalProps {
isOpen: boolean;
@@ -235,9 +236,15 @@ function resolveChipContent(
disabled
rows={4}
/>
<ReadOnlyScopeField
<ModalTextAreaField
label={cm.sectionHeadings.applicableScope}
scopes={preset.sections.applicableScope}
value={formatConflictApplicableScopeForTextarea(
[],
preset.sections.applicableScope,
)}
onChange={noop}
disabled
rows={4}
/>
<ModalTextAreaField
label={cm.sectionHeadings.processProtocol}