Skip to content

Commit

Permalink
hazard type badge only showing hazard type n
Browse files Browse the repository at this point in the history
  • Loading branch information
matamadio committed Jun 16, 2024
1 parent 61a4d00 commit 9b53cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/src/components/rdl-hazard-type-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default class {
.groupBy('hazard_type')
.flatMap(function (datasetsForHazardType, hazard_type) {
var hazardTypes = hazard_type.split(",")
var collated = hazardTypes.map(c => prep_hazard_type(c, params, [...datasetsForHazardType,...exposureDatasets]))
var collated = hazardTypes.map(c => prep_hazard_type(c, params, [...datasetsForHazardType]))

return collated
})
Expand Down

0 comments on commit 9b53cf2

Please sign in to comment.