geosolutions-it / MapStore2

The solution to create and share maps, dashboards, geostories with 3D support on the web. And it is open-source too!
https://mapstore.geosolutionsgroup.com/
Other
515 stars 403 forks source link

The default catalog changes after the catalog is opened from the background tool #10486 #10586

Closed rowheat02 closed 1 month ago

rowheat02 commented 1 month ago

Description

While adding the background layer, a backup for the selected catalog service is stored in the backgroundselector store. And same service is set while closing the Catalog Modal.

Please check if the PR fulfills these requirements

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

Issue

What is the current behavior?

10486

The selected catalog service changes after trying to add a background layer

What is the new behavior?

Selected Catalog service remains same even after trying to add background layer

Breaking change

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

Other useful information

offtherailz commented 1 month ago

@ElenaGallo, could you please test this on DEV ? Thank you

ElenaGallo commented 1 month ago

Test passed, @rowheat02 please backport to 2024.02.xx. Thanks