From 8a57d8dd9ce56726e0172e373121d2344dc7be52 Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 1 Jun 2026 21:02:59 -0700 Subject: [PATCH] Resource rules go first --- src/components/resource-policy/EditPolicyRulesSectionForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/resource-policy/EditPolicyRulesSectionForm.tsx b/src/components/resource-policy/EditPolicyRulesSectionForm.tsx index 843881ab3..78a37ce58 100644 --- a/src/components/resource-policy/EditPolicyRulesSectionForm.tsx +++ b/src/components/resource-policy/EditPolicyRulesSectionForm.tsx @@ -196,8 +196,8 @@ export function EditPolicyRulesSectionForm({ })); setRules([ - ...policy.rules.map((r) => ({ ...r, fromPolicy: true })), - ...resourceSpecific + ...resourceSpecific, + ...policy.rules.map((r) => ({ ...r, fromPolicy: true })) ]); setResourceRulesInitialized(true); }, [