Skip to content

Commit

Permalink
Remove all now removes all pickedFeatures
Browse files Browse the repository at this point in the history
  • Loading branch information
nf-s committed Oct 4, 2023
1 parent 2e167f9 commit 3226af3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#### next release (8.3.7)

- Fix "Remove all" not removing selected/picked features
- [The next improvement]

#### 8.3.6 - 2023-10-03
Expand Down
1 change: 1 addition & 0 deletions lib/ReactViews/Workbench/Workbench.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class Workbench extends React.Component<IProps> {
DataSourceAction.removeAllFromWorkbench,
getPath(item)
);
this.props.terria.removeSelectedFeaturesForModel(item);
});
this.props.terria.workbench.removeAll();
(this.props.terria.timelineStack.items as any).clear();
Expand Down

0 comments on commit 3226af3

Please sign in to comment.