Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
  • Loading branch information
igorDykhta committed Sep 24, 2024
1 parent decd030 commit 6b68494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/src/base-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ class Layer {
return this.config.columns;
}
// key = 'lat'
const {pair, fieldPairKey} = this.columnPairs?.[key];
const {pair, fieldPairKey} = this.columnPairs?.[key] || {};

if (typeof fieldPairKey === 'string' && !pair[fieldPairKey]) {
// do not allow `key: undefined` to creep into the `updatedColumn` object
Expand Down

0 comments on commit 6b68494

Please sign in to comment.