Skip to content

Commit

Permalink
fix(olcs): restore mistakenly deleted code.
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaofengZeng committed Nov 17, 2024
1 parent e5a6f3d commit 3e49023
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/olcs/VectorSynchronizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ export default class VectorSynchronizer extends olcsAbstractSynchronizer<VectorL
}));

olListenKeys.push(source.on('changefeature', (e: VectorSourceEvent) => {
const feature = e.feature;
const feature = e.feature
console.assert(feature);
const skip = feature.get('olcs_skip');
if (skip) {
return;
Expand Down

0 comments on commit 3e49023

Please sign in to comment.