Update reactive if
This commit is contained in:
parent
adc39c9cca
commit
55b3b510d3
|
@ -125,7 +125,7 @@ vehiclesInit.subscribe((v) => {
|
|||
|
||||
let data: IGeoJSON;
|
||||
|
||||
$: if ($queryResult.data) {
|
||||
$: if ($queryResult.data?.line) {
|
||||
data = quaysToGeoJSON(...$queryResult.data.line.journeyPatterns.map((x: any) => x.quays)) as IGeoJSON
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue