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