Include the new policy tables in the data

This commit is contained in:
Owen
2026-06-01 17:04:33 -07:00
parent 605dd2f3c9
commit 1625dd1add
4 changed files with 34 additions and 1603 deletions

View File

@@ -171,7 +171,7 @@ export function EditPolicyRulesSectionForm({
});
const [rules, setRules] = useState<LocalRule[]>(
policy.rules.map((r) => ({ ...r, fromPolicy: !isResourceOverlay }))
policy.rules.map((r) => ({ ...r, fromPolicy: isResourceOverlay }))
);
const [isExpanded, setIsExpanded] = useState(
rulesEnabled || isResourceOverlay