Skip to content

Commit

Permalink
Merge pull request #6930 from TerriaJS/fix-removeall-picked-features
Browse files Browse the repository at this point in the history
Remove all now removes all pickedFeatures
  • Loading branch information
nf-s authored Oct 9, 2023
2 parents d8d9077 + 3226af3 commit d93a0a7
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 d93a0a7

Please sign in to comment.