Skip to content

Commit

Permalink
debug VmNetworkTab render
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Nov 6, 2023
1 parent b1dd190 commit d266716
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/vm/nics/vmNicsCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ export class VmNetworkTab extends React.Component {
// This serves as workaround for https://github.com/virt-manager/virt-manager/issues/356
const ifaces = vm.interfaces.map((iface, index) => ({ ...iface, index }));

console.log("VmNetworkTab.render: XML interfaces", JSON.stringify(vm.interfaces), "map", JSON.stringify(ifaces));

// Network data mapping to rows
let detailMap = [
{
Expand Down

0 comments on commit d266716

Please sign in to comment.