Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dykhta <[email protected]>
  • Loading branch information
igorDykhta committed Feb 13, 2025
1 parent 701ae18 commit 1cca659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layers/src/trip-layer/trip-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export default class TripLayer extends Layer {

static findDefaultLayerProps(
{label, fields = [], dataContainer, id}: KeplerTable,
foundLayers: any[]
foundLayers?: any[]
) {
const geojsonColumns = fields.filter(f => f.type === 'geojson').map(f => f.name);

Expand All @@ -268,7 +268,7 @@ export default class TripLayer extends Layer {
})),

// if a geojson layer is created from this column, delete it
foundLayers: foundLayers.filter(
foundLayers: foundLayers?.filter(
prop =>
prop.type !== 'geojson' ||
prop.dataId !== id ||
Expand Down

0 comments on commit 1cca659

Please sign in to comment.