mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 21:06: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
@ -48,7 +48,7 @@
|
||||
<div class='cond condtemp'>[[attr.temperature]]°</div>
|
||||
<div class='cond conddetails'>
|
||||
<div class="condsmall" hidden$="[[!attr.wind_speed]]">
|
||||
Wind:
|
||||
Wind:
|
||||
<span hidden$="[[!attr.wind_speed]]">
|
||||
[[attr.wind_speed]]
|
||||
</span>
|
||||
@ -144,7 +144,7 @@
|
||||
this.nowCond = _WEATHER_TO_ICON[this.stateObj.state];
|
||||
this.windBearing = this.windBearingToText(this.attr.wind_bearing);
|
||||
|
||||
if (!window.google) {
|
||||
if (!window.google || !window.google.visualization) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user