Fix tests

This commit is contained in:
IagoLast 2018-06-01 12:25:36 +02:00
parent ae4b233458
commit 8ec2b35557

View File

@ -53,7 +53,7 @@ class VectorMapConfigAdapter {
}
_isDatesAsNumbersFlagEnabled(requestMapConfig) {
return requestMapConfig.layers.some(layer => layer.options.dates_as_numbers);
return requestMapConfig.layers && requestMapConfig.layers.some(layer => layer.options.dates_as_numbers);
}
}