mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 13:26:34 +00:00
Make full path check before using google.visualization (#716)
* Make full path check before using visualization * Missing check
This commit is contained in:
parent
9ae2325834
commit
9b3448d44c
@ -144,7 +144,7 @@
|
|||||||
this.nowCond = _WEATHER_TO_ICON[this.stateObj.state];
|
this.nowCond = _WEATHER_TO_ICON[this.stateObj.state];
|
||||||
this.windBearing = this.windBearingToText(this.attr.wind_bearing);
|
this.windBearing = this.windBearingToText(this.attr.wind_bearing);
|
||||||
|
|
||||||
if (!window.google) {
|
if (!window.google || !window.google.visualization) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user