Skip to content

Commit

Permalink
fix: [M3-7348] - Only unassign linodes in the 'Linodes to be Unassign…
Browse files Browse the repository at this point in the history
…ed from Subnet' list for Subnet Unassign Drawer (#9851)

* bug fix

* remove duplicate logic that i previously added

* changeset

* update changeset

* recategorize changeset as upcoming features
  • Loading branch information
coliu-akamai authored Oct 31, 2023
1 parent 9d323ef commit 65c9744
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Upcoming Features
---

Only unassign linodes in the 'Linodes to be Unassigned from Subnet' list for Subnet Unassign Drawer ([#9851](https://github.com/linode/manager/pull/9851))
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ export const SubnetUnassignLinodesDrawer = React.memo(
setSelectedLinodes((prevSelectedLinodes) =>
prevSelectedLinodes.filter((option) => option.id !== optionToRemove.id)
);
setConfigInterfacesToDelete((prevInterfacesToDelete) =>
prevInterfacesToDelete.filter(
(option) => option.linodeId !== optionToRemove.id
)
);
};

const processUnassignLinodes = async () => {
Expand Down

0 comments on commit 65c9744

Please sign in to comment.