detect positions well
This commit is contained in:
parent
363b6b0075
commit
94dc9af7e6
1 changed files with 1 additions and 1 deletions
|
@ -2095,7 +2095,7 @@ c3nav = {
|
||||||
// if location is not in the searchable list...
|
// if location is not in the searchable list...
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (location.dynamic || location.locationtype === "dynamiclocation") {
|
if (location.dynamic || location.locationtype === "dynamiclocation" || location.locationtype === "position") {
|
||||||
if (!('available' in location)) {
|
if (!('available' in location)) {
|
||||||
c3nav_api.get(`map/positions/${location.id}/`)
|
c3nav_api.get(`map/positions/${location.id}/`)
|
||||||
.then(c3nav._dynamic_location_loaded);
|
.then(c3nav._dynamic_location_loaded);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue