mirror of
https://github.com/beestat/app.git
synced 2025-05-24 02:14:03 -04:00
Fixed #288 - Comparisons page does not load at all if address lookup failed.
This commit is contained in:
parent
1f0d6e267b
commit
8c402a54c8
@ -78,7 +78,10 @@ beestat.component.card.my_home.prototype.decorate_region_ = function(parent) {
|
||||
(new beestat.component.title('Region')).render(parent);
|
||||
|
||||
var region;
|
||||
if (address.normalized !== null) {
|
||||
if (
|
||||
address.normalized !== null &&
|
||||
address.normalized.components !== undefined
|
||||
) {
|
||||
region =
|
||||
address.normalized.components.state_abbreviation ||
|
||||
address.normalized.components.locality ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user