Skip to content

Commit

Permalink
117369 - renaming layerId to featureId
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimkovalev committed Mar 7, 2022
1 parent 4b4ffc2 commit ca6b6fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/maps/public/actions/ui_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export function closeTimeslider() {
export function pushDeletedFeatureId(featureId: string) {
return {
type: PUSH_DELETED_FEATURE_ID,
layerId: featureId,
featureId,
};
}

Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/maps/public/reducers/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function ui(state: MapUiState = DEFAULT_MAP_UI_STATE, action: any) {
case PUSH_DELETED_FEATURE_ID:
return {
...state,
deletedFeatureIds: [...state.deletedFeatureIds, action.layerId],
deletedFeatureIds: [...state.deletedFeatureIds, action.featureId],
};
case CLEAR_DELETED_FEATURE_IDS:
return {
Expand Down

0 comments on commit ca6b6fa

Please sign in to comment.