## Description <!-- A few sentences describing new feature --> <!-- screenshot, video, or link to mockup/prototype are welcome --> We need to add the interactive legend behavior also in dashboard. Expected implementations: - include the layerFilter among the properties updated by the legend widget (Note: probably it's enough to pass the layerFilter [here](https://github.com/geosolutions-it/MapStore2/blob/d8243f08b6e0e4bdfc1e3119992cd79196e536bd/web/client/components/widgets/enhancers/legendWidget.js#L57-L62)) - fix the wrong behaviour of the TOC for map widgets where the legend is restored to default configuration (see video) https://github.com/geosolutions-it/MapStore2/assets/19175505/7a519709-97ff-493c-9abd-971f412af22e It is also required to add the interactive legend behavior for geostory as well **What kind of improvement you want to add?** (check one with "x", remove the others) - [x] Minor changes to existing features ## Other useful information
Description
We need to add the interactive legend behavior also in dashboard.
Expected implementations:
edit-style-with-filter.mp4
It is also required to add the interactive legend behavior for geostory as well
What kind of improvement you want to add? (check one with "x", remove the others)
Other useful information