MapStore2 icon indicating copy to clipboard operation
MapStore2 copied to clipboard

#10622: Fix Not possible to remove widget from Map - JavaScript error

Open mahmoudadel54 opened this issue 4 months ago • 0 comments

Description

This PR fixes the issue of not remove widget from map in case of existing other widgets has dependenciesMap prop = empty object.

Please check if the PR fulfills these requirements

  • [ ] The commit message follows our guidelines: https://github.com/geosolutions-it/MapStore2/blob/master/CONTRIBUTING.md
  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x", remove the others)

  • [ ] Bugfix
  • [ ] Feature
  • [ ] Code style update (formatting, local variables)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] CI related changes
  • [ ] Other... Please describe:

Issue

#10622

What is the current behavior? #10622

What is the new behavior? The delete confirmation dialog window closes and the widget is removed from the map normally.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • [ ] Yes, and I documented them in migration notes
  • [x] No

Other useful information

mahmoudadel54 avatar Oct 23 '24 08:10 mahmoudadel54