Skip to content

Commit

Permalink
Network: Ensure unattached nerworks are shown
Browse files Browse the repository at this point in the history
  • Loading branch information
stephendade committed Sep 8, 2024
1 parent e92e14b commit a07dd47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/networkconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ class NetworkConfig extends basePage {
});
//filter the connections
this.state.netConnection.forEach(function (item) {
if (item.type === "802-11-wireless" && (item.attachedIface === "" || item.attachedIface === "undefined" || item.attachedIface === value.value)) {
if (item.type === "802-11-wireless" && (item.attachedIface === '\"\"' || item.attachedIface === '' ||
item.attachedIface === "undefined" || item.attachedIface === value.value)) {
if (item.state === value.value) {
item.label = item.labelPre + " (Active)";
netConnection.push(item);
Expand Down

0 comments on commit a07dd47

Please sign in to comment.