fix for file didn't load in spc outlook
This commit is contained in:
parent
aa43713943
commit
f3a386079b
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ const testAllPoints = (point, data) => {
|
|||
data.forEach((day, index) => {
|
||||
// initialize the result
|
||||
result[index] = false;
|
||||
// if there's no data (file didn't load), exit early
|
||||
if (day === undefined) return;
|
||||
// loop through each category
|
||||
day.features.forEach((feature) => {
|
||||
if (!feature.geometry.coordinates) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue