Skip to content

Commit 9ad22ea

Browse files
committed
Disable copy features when hiding edit dialog
1 parent de12795 commit 9ad22ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

projects/core/src/lib/components/edit/state/edit.reducer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ const onHideEditDialog = (state: EditState): EditState => ({
202202
dialogCollapsed: false,
203203
selectedFeature: null,
204204
isCreateNewFeatureActive: false,
205+
isCopyOtherLayerFeaturesActive: false,
206+
copiedFeatures: [],
207+
selectedCopyLayer: null,
205208
});
206209

207210
const onExpandCollapseEditDialog = (state: EditState): EditState => ({

0 commit comments

Comments
 (0)