Skip to content

Commit c05fffb

Browse files
refactor: [UIE-9856] - Clean up hardcoded entity name in firewall add event (#13211)
1 parent 96beaf5 commit c05fffb

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@linode/manager": Tech Stories
3+
---
4+
5+
Code clean up for firewall add event factory ([#13211](https://github.com/linode/manager/pull/13211))

packages/manager/src/features/Events/factories/firewall.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@ export const firewall: PartialEventMap<'firewall'> = {
6969
firewall_device_add: {
7070
notification: (e) => {
7171
if (e.secondary_entity?.type) {
72-
// TODO - Linode Interfaces [M3-10447] - clean this up when API ticket [VPC-3359] is completed
7372
const secondaryEntityName =
74-
formattedTypes[e.secondary_entity.type as FirewallDeviceEntityType] ??
75-
'Linode Interface';
73+
formattedTypes[e.secondary_entity.type as FirewallDeviceEntityType];
7674
return (
7775
<>
7876
{secondaryEntityName} <EventLink event={e} to="secondaryEntity" />{' '}

0 commit comments

Comments
 (0)