Skip to content

Commit 8e53554

Browse files
fix: [UIE-9531] - Exclude newly added unsaved rulesets from dropdown for the given Firewall (#13226)
* Exclude newly added unsaved rulesets from dropdown * Added changeset: Exclude newly added unsaved Rule Sets from dropdown for the given Firewall
1 parent e8035fa commit 8e53554

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Fixed
3+
---
4+
5+
Exclude newly added unsaved Rule Sets from dropdown for the given Firewall ([#13226](https://github.com/linode/manager/pull/13226))

packages/manager/src/features/Firewalls/FirewallDetail/Rules/FirewallRulesLanding.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,10 +547,7 @@ export const FirewallRulesLanding = React.memo((props: Props) => {
547547
modeViewedFrom: ruleDrawer.mode,
548548
});
549549
}}
550-
inboundAndOutboundRules={[
551-
...(rules.inbound ?? []),
552-
...(rules.outbound ?? []),
553-
]}
550+
inboundAndOutboundRules={[...inboundRules, ...outboundRules]}
554551
isOpen={
555552
location.pathname.endsWith('add/inbound') ||
556553
location.pathname.endsWith('add/outbound') ||

0 commit comments

Comments
 (0)