Fix tests
This commit is contained in:
parent
ae4b233458
commit
8ec2b35557
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user