Closed lydiascarf closed 1 month ago
Picked the second option: each hazard type filter option's badge reflects only the number of datasets with that hazard type, as opposed to that number + all of the exposure datasets. I made the specified edits and forced rebuild, but it seems the filter number still shows the sum of datasets.
posting this in case you want to merge it before the workshop! @matamadio
i wasn't sure i understood the motivation behind including all exposure datasets so i just wanted to explain how you could tweak this to work in a couple different ways:
,...exposureDatasets
from here and rebuild withnpm run build
dataset.category.includes('Exposure') ||
from here and rebuild withnpm run build
good luck!