Skip to content

Commit

Permalink
Merge pull request #185 from Azure/block-vnets-fix
Browse files Browse the repository at this point in the history
Block Virtual Networks Fix
  • Loading branch information
DCMattyG authored Oct 9, 2023
2 parents 9225057 + b9c8380 commit d59001f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ui/src/features/configure/block/Utils/editVnets.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,11 @@ export default function EditVnets(props) {
refreshData();
}
}

if(!block) {
setVNets(null);
setSelectionModel(null);
}
}, [block, subscriptions, prevBlock, refreshData]);

return (
Expand Down

0 comments on commit d59001f

Please sign in to comment.