wifi: handling of out-of-order wifi cards
How to reproduce
On omnia, run initial setup with regular wifi cards (compex WLE900VX and WLE200N2) and you will see Wi-Fi 1 and 2 in reForis.
Swap one of the wifi card with different card, that wasn't plugged before. This card will be identified as Wi-Fi 3.
Now you have installed different set of cards, that triggers this behaviour.
Clicking on checkbox for Wi-Fi 2 shows form for Wi-Fi 3.
Clicking on checkbox for Wi-Fi 3 ends with error:
TypeError: Cannot read property 'enabled' of undefined
Notes
It works fine with Wi-Fi 1 and Wi-Fi 2.
It works fine in Foris with the same json data from backend.