Closed kahummer closed 4 years ago
@kahummer Was there a need to introduce new changes to the store? Can't we make use of activeLayerIds
, then only display legends for layers that are in activeLayerIds
?
Was there a need to introduce new changes to the store? Can't we make use of activeLayerIds, then only display legends for layers that are in activeLayerIds?
@kelvin-muchiri Didn't think about that it works really well-using activeLayerIds. Will close this since we can render legends based on activeLayerIds .
The pr adds to store ability to remove legend item on legend close.
Fix: https://github.com/onaio/irfsomalia/issues/896