Fix type check
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
e8bbb74185
commit
eb46b3496a
@ -343,7 +343,7 @@ export class MapEffects {
|
|||||||
mergeMap(([[[action, selected], enabled],overlayLayers]) => {
|
mergeMap(([[[action, selected], enabled],overlayLayers]) => {
|
||||||
let layers = [];
|
let layers = [];
|
||||||
if(selected) {
|
if(selected) {
|
||||||
if(selected instanceof TemporalItemLayer ) {
|
if(selected && (selected as TemporalItemLayer).selectedItemLayer ) {
|
||||||
selected=(selected as TemporalItemLayer).selectedItemLayer;
|
selected=(selected as TemporalItemLayer).selectedItemLayer;
|
||||||
}
|
}
|
||||||
layers.push(selected);
|
layers.push(selected);
|
||||||
|
Loading…
Reference in New Issue
Block a user