cityofaustin / ctxfloods

Central Texas Floods
11 stars 5 forks source link

Can't get information about new crossing without reloading page #454

Open Niicck opened 5 years ago

Niicck commented 5 years ago

This bug appears after creating a new crossing. If you try to click on that crossing from the /map, you receive the error:

console.js:39 TypeError: Cannot read property 'coordinates' of null
    at value (CrossingMapPage.js:126)

After reloading the page once, there are no issues navigating to that crossing's sidebar page.

The coordinates are accurately stored on the database side. So something seems to be off about the data store/caching on the frontend.