Traffic Graphs on Dashboard not loading with certain types of interfaces
Traffic Graph is not loading at all when GRE, OpenVPN or IPSec graphs are enabled because it doesn't receive data for those.
The JS Console logs this
Uncaught TypeError: Cannot read property 'update' of undefined at Array.<anonymous> (traffic-graphs.js?v=1542803994:332) at Function.each (jquery-1.12.0.min.js?v=1542803994:2) at traffic-graphs.js?v=1542803994:271 at Object.<anonymous> (d3.min.js?v=1542803994:1) at Object.t (d3.min.js?v=1542803994:1) at XMLHttpRequest.i (d3.min.js?v=1542803994:1)
It would be fine if only that one graph wouldn't load, but all graphs refuse to load then. An additional check here to make sure that only one graph fails in case something similar happens again would be a great addition aswell.