Update reactive if

This commit is contained in:
Vegard Berg 2023-10-14 14:57:45 +02:00
parent adc39c9cca
commit 55b3b510d3
1 changed files with 1 additions and 1 deletions

View File

@ -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
}